- This topic has 2 replies, 2 voices, and was last updated 12 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Remove Phone number as a required field.
Franky,
I’m using your plugin on a membership site. So far, it is great. I’m using events to have our members RSVP for meetings. Some of our members, however, are really not very computer literate. Others are skeptical of putting their personal info in any form on the web….. Its an older group!
As such, I would like to remove the phone number from the RSVP form as a required field. I have our events set up so that you can register without being a member – sometimes we have guests, but mostly, when I required people to login first, many could not even remember their logins/passwords….. If I can remove the phone number as a required field, people would only have to enter their name, email and the number of seats. They could either enter their name and email without logging in, or if they are logged in, the fields are already populated.
I’ve searched through the eme_rsvp.php files and see several references to bookerphone, but I don’t know how to edit the file to make this field not required.
I don’t want to mess up the whole RSVP system.
Can you give me a quick idea how to achieve this?
Thanks,
John
Remove the following 2-line elseif-part from eme_rsvp.php (line 325-327)
} elseif (!is_admin() && !$registration_wp_users_only && !$bookerPhone) {
// no member of wordpress: we need a phonenumber then
$result = __('Please fill in all the required fields','eme');
Warning: this will break with the next update again
Thank you Franky. I appreciate it!