I found it in 2 places that are not looking like the right one because both of them are in the case that the option hide email is activated. Am I wrong? Thanks in advance.
if(get_option(OPTION_RSVP_HIDE_EMAIL_FIELD) != “Y”) {
$form .= rsvp_BeginningFormField(“”, “rsvpBorderTop”).
RSVP_START_PARA.”<label for=\”mainEmail\”>”.__(“Email Address”, ‘rsvp-plugin’).”</label>”.RSVP_END_PARA.
“<input type=\”text\” name=\”mainEmail\” id=\”mainEmail\” value=\””.htmlspecialchars($attendee->email).”\” />”.
RSVP_END_FORM_FIELD;
}
if(get_option(OPTION_RSVP_HIDE_EMAIL_FIELD) != “Y”) {
$form .= rsvp_BeginningFormField(“”, “rsvpBorderTop”).
RSVP_START_PARA.”<label for=\”attending”.$a->id.”Email\”>”.__(“Email Address”, ‘rsvp-plugin’).”</label>”.RSVP_END_PARA.
“<input type=\”text\” name=\”attending”.$a->id.”Email\” id=\”attending”.$a->id.”Email\” value=\””.htmlspecialchars($a->email).”\” />”.
RSVP_END_FORM_FIELD;
}