Support

Home Forums Community Forum An error has occurred: First Name is a required value. 6

An error has occurred: First Name is a required value. 6

Posted: February 4, 2016 at 12:41 pm


Amyrar

February 4, 2016 at 12:41 pm

I have reviewed the other answers on this same topic and tried to find the bug but still am getting this error every time I try to register for an event.

WordPress Version:
4.4.2
Event Espresso Version:
4.8.32.
WordPress Address (URL):
http://www.precmc2016.de/registration/
Site address (URL):
http://www.precmc2016.de/

Some help would be wonderful. ^^
Thanks.


Tony

  • Support Staff

February 4, 2016 at 1:24 pm

Hi Amyrar,

The theme JS is throwing an Undefined TypeError which is very likely causing this – http://take.ms/NissC

Which theme are you using?


Amyrar

February 4, 2016 at 1:55 pm

The Theme is called simple-east.
Jes, i just read a lot of old responds you gave on this topic and found out how to view errors in the chrome console.. but i don’t understand the error.


Josh

  • Support Staff

February 4, 2016 at 3:40 pm

You could try fixing the JavaScript error by opening up the assets/menu/script.js file and on line 129 where it has:

defaultPosition = linePosition = activeElement.position();

you change it to this:

defaultPosition = linePosition = activeElement.position().left;

If the above does not work, may I ask if any of the theme’s template files have been modified in any way?


Amyrar

February 4, 2016 at 4:35 pm

unfortunately, I already tried out to fix it that way the other way around a few hours ago and now i changed it back as you said.. but it doesn’t work.

yes, the theme has been modified.. I changed a lot in the:
1. style.css,
2. few things in the: assets/bootstrap/css/bootstrap.min.css
3. included pictures into the images file. (linked to the style.css)
4. also I created custom template pages for the custom headers I included for every single page by linking them with get_header().
Example for the tour.php page: `<?php
/**
* Template Name: Tour
**/
global $navthemes_options;
get_header(‘tour’); ?>`
5.the page.php just stayed the main home site with get_header()
6. the main header image is linked as a background-image to the .site-title class in the header.php file.
7. In order to have custom headers I just created custom header files, for example header-tour.php in which I changed the .site-title class to for this ex. .site-tour to display the preferred image.
8. And I deleted some code in the above mentioned files and the footer.php to for example erase the themes refrence link in the footer and the whole second navigation that was at the top. And the breadcrumbs. But all in all I just deleted parameters to initiate the output of something on the page, not the existance of the function itself. But I don’t remember everything.

That’s it. I know it’s alot. Do you think thats the cause? I need to solve this problem somehow, not rewriting everything onto another template or something.


Amyrar

February 4, 2016 at 6:40 pm

I just got away from all of it.. sleeping a while.. which I obviously needed.. and now I solved the problem. I just erased the whole section where the:

defaultPosition = linePosition = activeElement.position().left;

..was inside, with the heading description saying “top menu”, which was something I erased from the theme and so it obviously couldn’t be found by the js file.
After refreshing and trying to acsess the form again.. finally there was no error message anymore. I’m so happy right now. Everything works finde now!

The support post ‘An error has occurred: First Name is a required value. 6’ 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.

If you would like help from the Event Espresso staff, then please purchase a support license right now so you can create a support topic in our premium support forums.

Status: closed

Updated by  Amyrar 7 months, 3 weeks ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!
[gravityform id=80 title=false description=false ajax=false]
<div class='gf_browser_unknown gform_wrapper' id='gform_wrapper_80' ><form method='post' enctype='multipart/form-data' id='gform_80' action='/topic/an-error-has-occurred-first-name-is-a-required-value-6/'> <div class='gform_body'><ul id='gform_fields_80' class='gform_fields top_label form_sublabel_below description_below'><li id='field_80_1' class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_80_1' >First name<span class='gfield_required'>*</span></label><div class='ginput_container ginput_container_text'><input name='input_1' id='input_80_1' type='text' value='' class='medium' aria-required="true" aria-invalid="false" /></div></li><li id='field_80_2' class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_80_2' >Email address<span class='gfield_required'>*</span></label><div class='ginput_container ginput_container_email'> <input name='input_2' id='input_80_2' type='email' value='' class='medium' aria-required="true" aria-invalid="false" /> </div></li><li id='field_80_3' class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' >GDPR Agreement<span class='gfield_required'>*</span></label><div class='ginput_container ginput_container_checkbox'><ul class='gfield_checkbox' id='input_80_3'><li class='gchoice_80_3_1'> <input name='input_3.1' type='checkbox' value='I consent to have this website store my submitted information so they can respond to my inquiry.' id='choice_80_3_1' /> <label for='choice_80_3_1' id='label_80_3_1'>I consent to have this website store my submitted information so they can respond to my inquiry.</label> </li></ul></div></li><li id='field_80_4' class='gfield gform_validation_container field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_80_4' >Comments</label><div class='ginput_container'><input name='input_4' id='input_80_4' type='text' value='' autocomplete='off'/></div><div class='gfield_description' id='gfield_description_80_4'>This field is for validation purposes and should be left unchanged.</div></li> </ul></div> <div class='gform_footer top_label'> <input type='submit' id='gform_submit_button_80' class='gform_button button' value='Download Now' onclick='if(window["gf_submitting_80"]){return false;} if( !jQuery("#gform_80")[0].checkValidity || jQuery("#gform_80")[0].checkValidity()){window["gf_submitting_80"]=true;} ' onkeypress='if( event.keyCode == 13 ){ if(window["gf_submitting_80"]){return false;} if( !jQuery("#gform_80")[0].checkValidity || jQuery("#gform_80")[0].checkValidity()){window["gf_submitting_80"]=true;} jQuery("#gform_80").trigger("submit",[true]); }' /> <input type='hidden' class='gform_hidden' name='is_submit_80' value='1' /> <input type='hidden' class='gform_hidden' name='gform_submit' value='80' /> <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' /> <input type='hidden' class='gform_hidden' name='state_80' value='WyJbXSIsIjBiNjdjZjkyMDUzOWUxOWY5Y2NiZjIwMzM4YjA1Mjk4Il0=' /> <input type='hidden' class='gform_hidden' name='gform_target_page_number_80' id='gform_target_page_number_80' value='0' /> <input type='hidden' class='gform_hidden' name='gform_source_page_number_80' id='gform_source_page_number_80' value='1' /> <input type='hidden' name='gform_field_values' value='' /> </div> </form> </div><script type='text/javascript'> jQuery(document).bind('gform_post_render', function(event, formId, currentPage){if(formId == 80) {} } );jQuery(document).bind('gform_post_conditional_logic', function(event, formId, fields, isInit){} );</script><script type='text/javascript'> jQuery(document).ready(function(){jQuery(document).trigger('gform_post_render', [80, 1]) } ); </script>
[i]
[i]