Posted: December 6, 2013 at 10:26 am
|
The edit registration page seems to be missing a <p>; or a </p>. This is the code that is getting created <fieldset><label for=”TEXT_11″>Are you of legal gambling age in your state of residence?*</label> <p></p><label for=”TEXT_12″>By submitting this form you agree to the rules*</label> <p></p> <p class=”event_form_submit”> </fieldset> |
I don’t see any mismatched p tags in the code you posted, do you? |
|
|
No not in the code that I posted, the code I posted is the html generated by the browser, but if you notice in the code I posted the elements that should be in the <p class=”event_form_field”></p> are not within the said elements. When I run the page through the http://validator.w3.org/ it shows a missing <p> tag. This is the page that is having the issue http://www.exchangeraffle.com/event-registration/?registration_id=1-52a2653bc680a&id=48®event_action=edit_attendee&primary=48&event_id=1&attendee_num=1 notice the ‘Update Record’ button is showing within the last fieldset. Maybe I am missing something. Please help. |
This is a little strange. It’s actually missing a closing fieldset and div tag after the last two questions. I can see where in the form’s logic where it is supposed to spit out the closing fieldset and div tag in /event-espresso/includes/process-registration/attendee_edit_record.php starting on line 282 it does this: $counter++; echo $counter == $total_questions ? '</fieldset> </div>' : ''; Basically what that’s doing is comparing the count of questions to the total questions and when the count equals the total it spits out the closing fieldset and closing div tags. If the count doesn’t equal the total number of questions (there are more questions to loop through, then it outputs nothing. I’ve tested this out a few ways to try to reproduce the issue you are seeing and so far I’m not able to figure this out. Can you try adding an additional, temporary question to the last question group there to see if that makes any difference? |
|
|
Thank you for your response. I added a test question to each of the questions in the last fieldset but it didn’t seem to fix the issue. I am going to look into it a little more with my data and see I can figure out what it doing too. |
|
Ok, here is what the issue was. I had First Name, Last Name, and Email in both the Personal Information question group and the Address Information question group. The code creates the array <pre class=”brush: php; gutter: true; first-line: 1; highlight: []; html-script: false”>$question_displayed[] = $question_id This, however, continues to add one to resulting in an uneven count between |
The support post ‘Edit Attendee Registration Styling – Public Side’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.