How to change form fields
(16 posts) (2 voices)-
Hi,
I would like my form to include company and title fields. Is that something I can change with the core files?
ThanksPosted 2 years ago # -
Yeah - you have to edit the code for that.Posted 2 years ago #
-
which files do I use? is it okay with you if I do this?Posted 2 years ago #
-
i am using your plugin here http://dphs.com/hitec-2009/Posted 2 years ago #
-
> which files do I use?
You have to edit quite a few files - but the most important one is show_registeration_form.php
> is it okay with you if I do this?
Yes it is - go right ahead.Posted 2 years ago # -
So I changed:
options.php
eventr.php
show-registration_form.php
Company is now listed as an option in the settings, but it does not appear as a field on the form. What am I missing?
Thanks for your help.Posted 2 years ago # -
You do not have to add it in options file - just in the show_registeration_form.php - and you have to add the database fields too.Posted 2 years ago #
-
Ok - I added "company" to the db (wp_eventr_attendee), but it's not showing in the settings. Anything else I should do?
Thanks!
I think I figured it out. Thanks!Posted 2 years ago # -
I figured out how to get all the fields added to the form and the options page. I'm having a problem now with getting those fields translated to the attendees.
I'm getting these two error messages when I add the "[EVENTR ATTENDEES 10]" piece into a post.
Warning: include(/home8/dphscom/public_html/wp-content/plugins/eventr/show_attendee_list.php) [function.include]: failed to open stream: No such file or directory in /home8/dphscom/public_html/wp-content/plugins/eventr/eventr.php on line 68
Warning: include() [function.include]: Failed opening '/home8/dphscom/public_html/wp-content/plugins/eventr/show_attendee_list.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home8/dphscom/public_html/wp-content/plugins/eventr/eventr.php on line 68
this is line 68 -include(ABSPATH . 'wp-content/plugins/eventr/show_attendee_list.php');
Can you help?
ThanksPosted 2 years ago # -
That's odd - I have not seen this error before. Please make sure that the path is correct and the file exists.Posted 2 years ago #
-
The files does not exist - I looked in the plugin file and it isn't there, but I didn't get the error until I changed the attendee file so I could pull the db files through and see for each attendee.
I would really love to have these files as a part of the plugin and use evnentr, but think I'm going to need to go another route. When I view the attendees, the data does not match up with the file headers and I just don't know enough to keep changing files since I don't really know how they all fit together.
Could you add these files for a future release?
ThanksPosted 2 years ago # -
I thought I might just use the bio field for company and title, but when I test it, the bio part doesn't appear on the csv file I exported.Posted 2 years ago #
-
I am thinking about adding custom fields in the next release - but it might take a while to be completed - I am very busy with my other projects.Posted 2 years ago #
-
Ok - thanks.Posted 2 years ago #
-
Do you know why the bio field isn't coming across when I export the attendee list? Is there another way to get access to that information?Posted 2 years ago #
-
The bio field is a known issue - but I cannot do anything about it. Bio fields may have new lines(\n) - and that cannot appear in a CSV file.Posted 2 years ago #
Reply
You must log in to post.