• Resolved nickw10

    (@nickw10)


    The issue is around the booking form on this page https://www.popupevents.company/bouncy-castle-hire-portsmouth/

    I’m receiving the following errors when someone submits a booking.

    Notice: Undefined index: checkbox-4 in /home/hp3-linc4-nfs2-y/351/1110351/user/htdocs/wp-content/plugins/forminator/library/abstracts/abstract-class-field.php on line 844

    Notice: Undefined index: checkbox-4 in /home/hp3-linc4-nfs2-y/351/1110351/user/htdocs/wp-content/plugins/forminator/library/abstracts/abstract-class-field.php on line 844

    Checkbox4 is the checkbox that is ticked and then shows the address entry for a different hire address, if this is selected then there is no error.

    As a workaround I’ve put a redirect in once the form is submitted.

    Nick

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @nickw10 ,

    I’m sorry about this issue.

    Can you export your form and share it with us so we can check it further?

    kind regards,
    Kasia

    Thread Starter nickw10

    (@nickw10)

    Sure, here it is.

    {"type":"form","data":{"fields":[{"id":"name-1","element_id":"name-1","form_id":"wrapper-1511347712118-1739","type":"name","cols":12,"required":true,"field_label":"Name","placeholder":"E.g. John Smith","prefix_label":"Prefix","fname_label":"First Name","fname_placeholder":"E.g. John","mname_label":"Middle Name","mname_placeholder":"E.g. Smith","lname_label":"Last Name","lname_placeholder":"E.g. Doe","multiple_name":"true","fname":true,"mname":false,"conditions":[],"wrapper_id":"wrapper-1511347712118-1739","required_message":"Please enter your name","lname":true,"fname_required":true,"fname_required_message":"Please enter your first name","lname_required":true,"lname_required_message":"Please enter your last name"},{"id":"email-1","element_id":"email-1","form_id":"wrapper-3178-7536","type":"email","cols":6,"required":"true","field_label":"Email Address","placeholder":"E.g. [email protected]","validation":true,"validation_text":"","conditions":[],"wrapper_id":"wrapper-3178-7536","required_message":"Please enter your email address"},{"id":"phone-1","element_id":"phone-1","form_id":"wrapper-3178-7536","type":"phone","cols":6,"required":true,"field_label":"Phone Number","placeholder":"07000000000","validation":"false","validation_text":"","conditions":[],"phone_validation_type":"standard","phone_national_country":"GB","required_message":"Please supply a contact number","wrapper_id":"wrapper-3178-7536"},{"id":"text-1","element_id":"text-1","form_id":"wrapper-3103-8093","type":"text","options":[],"cols":12,"conditions":[],"input_type":"line","limit_type":"characters","field_label":"Offer Code","placeholder":"E.g. JANSPECIAL","wrapper_id":"wrapper-3103-8093","description":"","limit":"15"},{"id":"date-1","element_id":"date-1","form_id":"wrapper-2503-2077","type":"date","options":[],"cols":6,"conditions":[],"field_type":"picker","date_format":"dd\/mm\/yy","field_label":"Date","placeholder":"Select Date","icon":"true","required":true,"required_message":"Please enter a date for your booking","wrapper_id":"wrapper-2503-2077","condition_action":"hide","default_date":"today","howto-restrict":"all"},{"id":"select-1","element_id":"select-1","form_id":"wrapper-2503-2077","type":"select","options":[{"label":"AM","value":"AM","default":false},{"label":"PM","value":"PM","default":false}],"cols":6,"conditions":[],"value_type":"single","field_label":"Time","required":true,"required_message":"Please select a booking time","wrapper_id":"wrapper-2503-2077"},{"id":"textarea-1","element_id":"textarea-1","form_id":"wrapper-779-5624","type":"textarea","options":[],"cols":12,"conditions":[],"input_type":"line","limit_type":"characters","field_label":"Your Address","placeholder":"Please Include Post Code","default":"","required":true,"required_message":"Please enter your address","wrapper_id":"wrapper-779-5624","prefill":""},{"id":"checkbox-4","element_id":"checkbox-4","form_id":"wrapper-8793-9283","type":"checkbox","options":[{"label":"If different from above","value":"hire","default":false}],"cols":12,"conditions":[],"wrapper_id":"wrapper-8793-9283","value_type":"checkbox","field_label":"Hire Address","layout":"vertical","prefill":"","calculations":"false"},{"id":"textarea-2","element_id":"textarea-2","form_id":"wrapper-409-1721","type":"textarea","options":[],"cols":12,"conditions":[{"element_id":"checkbox-4","rule":"is","value":"hire"}],"input_type":"line","limit_type":"characters","field_label":"Hire Address","placeholder":"Please Include Post Code","default":"","required":true,"required_message":"This must be completed","formid":"wrapper-8738-4363","condition_rule":"all","wrapper_id":"wrapper-409-1721","custom-class":""},{"id":"checkbox-2","element_id":"checkbox-2","form_id":"wrapper-2586-7365","type":"checkbox","options":[{"label":"Bouncy Castle","value":"bouncy-castle"},{"label":"Hot Tub","value":"hot-tub"},{"label":"Hog Roast","value":"hog-roast","default":false},{"label":"Pic-N-Mix","value":"picnmix","default":false},{"label":"Table & Chairs","value":"Table & Chairs","default":false},{"label":"Inflatable Igloo","value":"inflatable-igloo","limit":"","default":false}],"cols":12,"conditions":[],"value_type":"checkbox","field_label":"Booking Type","required":true,"required_message":"Please select a booking type","wrapper_id":"wrapper-2586-7365","prefill":"booking_type"},{"id":"html-1","element_id":"html-1","form_id":"wrapper-3924-7969","type":"html","options":[],"cols":12,"conditions":[{"element_id":"checkbox-2","rule":"is","value":"inflatable-igloo"}],"wrapper_id":"wrapper-3924-7969","field_label":"Inflatable Igloo Hire","variations":"<p>Due to the size restricions of this item a site inspection is required before any booking can be confirmed.<\/p>","condition_action":"show"},{"id":"text-2","element_id":"text-2","form_id":"wrapper-6295-2788","type":"text","options":[],"cols":12,"conditions":[{"element_id":"checkbox-2","rule":"is","value":"Hot Tub"}],"input_type":"line","limit_type":"characters","field_label":"Referral Name","placeholder":"E.g. John Smith","wrapper_id":"wrapper-6295-2788"},{"id":"select-4","element_id":"select-4","form_id":"wrapper-3247-8703","type":"select","options":[{"label":"Select","value":"No value selected","default":false},{"label":"Dragon's Lair","value":"Dragon's Lair","default":false,"calculation":""},{"label":"Jungle Jim","value":"Jungle Jim","default":false},{"label":"Pirate Pete","value":"Pirate Pete","default":false},{"label":"Jester's Party Ball Pit","value":"Jester's Party Ball Pit","default":false},{"label":"Sea World","value":"Sea World","default":false},{"label":"Princess Castle","value":"Princess Castle","default":false},{"label":"Gladiator Dueling Platform","value":"Gladiator Dueling Platform","default":false},{"label":"Mickey's Fun House","value":"Mickey's Fun House","default":false}],"cols":12,"conditions":[{"element_id":"checkbox-2","rule":"is","value":"bouncy-castle"}],"value_type":"single","field_label":"Bouncy Castle","condition_rule":"any","wrapper_id":"wrapper-3247-8703","required":true,"required_message":"Please make a selection","limit_status":"disable","prefill":"bouncy"},{"id":"select-5","element_id":"select-5","form_id":"wrapper-8068-1668","type":"select","options":[{"label":"-","value":"-","limit":"","default":false,"calculation":"0"},{"label":"Family Tub","value":"Family","default":false,"calculation":"195"},{"label":"Glow Tub","value":"Glow","default":false,"calculation":"165"},{"label":"Party Tub","value":"Party","default":false,"calculation":"135"},{"label":"Aroma Tub","value":"Aroma","default":false,"calculation":"155"}],"cols":12,"conditions":[{"element_id":"checkbox-2","rule":"is","value":"hot-tub"}],"value_type":"single","field_label":"Hot Tub Package","condition_action":"show","condition_rule":"any","wrapper_id":"wrapper-8068-1668","required":true,"required_message":"Please select your package","calculations":"true"},{"id":"select-11","element_id":"select-11","form_id":"wrapper-7007-4863","type":"select","options":[{"label":"-","value":"-","limit":"","default":false},{"label":"Anti inflammatory & Stress Reliever","value":"Anti Inflammatory"},{"label":"Hot And Icy Muscle Therapy","value":"Hot and Icy"},{"label":"Inflammation Joint Therapy","value":"Joint therapy","default":false}],"cols":12,"conditions":[{"element_id":"select-5","rule":"is","value":"Aroma"},{"element_id":"checkbox-2","rule":"is","value":"hot-tub"}],"value_type":"single","field_label":"Aromatherapy Choice","wrapper_id":"wrapper-7007-4863","required":true,"required_message":"Please make a selection"},{"id":"number-1","element_id":"number-1","form_id":"wrapper-622-8204","type":"number","options":[],"cols":12,"conditions":[{"element_id":"checkbox-2","rule":"is","value":"hog-roast"}],"limit_min":0,"limit_max":"200","field_label":"How Many Mouths To Feed","placeholder":"E.g. 10","default_value":"","wrapper_id":"wrapper-622-8204","required":true,"required_message":"Please enter the number of mouths to feed"},{"id":"select-6","element_id":"select-6","form_id":"wrapper-7082-2493","type":"select","options":[{"label":"Select Inflatable","value":"-","default":true},{"label":"Pirate Pete","value":"Pirate Pete","default":false},{"label":"Jungle Jim","value":"Jungle Jim","default":false},{"label":"Jester's Party Ball Pit","value":"Jester's Party Ball Pit","default":false},{"label":"Mickey's Fun House","value":"Mickey's Fun House","default":false}],"cols":12,"conditions":[{"element_id":"checkbox-2","rule":"is","value":"picnmix"}],"value_type":"single","field_label":"Pic N Mix Inflatable","condition_rule":"all","wrapper_id":"wrapper-7082-2493"},{"id":"select-7","element_id":"select-7","form_id":"wrapper-1845-854","type":"select","options":[{"label":"Select Addon","value":"-","default":true},{"label":"NERF Shooting Gallery","value":"NERF Shooting Gallery","default":false},{"label":"Buzz Wire","value":"Buzz Wire","default":false},{"label":"Inflatable Bowling Alley","value":"Inflatable Bowling Alley","default":false},{"label":"Mini Golf","value":"Mini Golf","default":false},{"label":"Baseball Challenge","value":"baseball challenge","limit":"","default":false}],"cols":12,"conditions":[{"element_id":"select-6","rule":"is_not","value":"-"}],"value_type":"single","field_label":"Choose A Fairground Addon","wrapper_id":"wrapper-1845-854"},{"id":"select-8","element_id":"select-8","form_id":"wrapper-8329-4405","type":"select","options":[{"label":"Select Third Item","value":"-","default":true},{"label":"Bubble Machine","value":"Bubble Machine","default":false},{"label":"Snow Machine","value":"Snow Machine","default":false}],"cols":12,"conditions":[{"element_id":"select-7","rule":"is_not","value":"-"}],"value_type":"single","field_label":"Now Select Your Third Item","wrapper_id":"wrapper-8329-4405"},{"id":"select-9","element_id":"select-9","form_id":"wrapper-9515-2473","type":"select","options":[{"label":"Select Forth Item","value":"-","default":true},{"label":"Glow Sticks & Necklaces","value":"Glow Sticks & Necklaces","default":false},{"label":"Temporary Tattoos","value":"Temporary Tattoos","default":false}],"cols":12,"conditions":[{"element_id":"select-8","rule":"is_not","value":"-"}],"value_type":"single","field_label":"Lastly, Select Your Forth Item","wrapper_id":"wrapper-9515-2473"},{"id":"select-10","element_id":"select-10","form_id":"wrapper-79-7203","type":"select","options":[{"label":"-","value":"-","limit":"","default":false,"calculation":"0"},{"label":"4 Person","value":"4 Man","calculation":"0","default":false},{"label":"6 Person (Add \u00a330)","value":"6 Man","calculation":"30","default":false}],"cols":12,"conditions":[{"element_id":"select-5","rule":"is_not","value":"Glow"},{"element_id":"checkbox-2","rule":"is","value":"hot-tub"}],"value_type":"single","field_label":"Hot Tub Size","wrapper_id":"wrapper-79-7203","calculations":"true","required":true,"required_message":"Please select the hot tub size","search_status":"disable"},{"id":"radio-1","element_id":"radio-1","form_id":"wrapper-5071-1083","type":"radio","options":[{"label":"Yes","value":"yes"},{"label":"No","value":"no"}],"cols":12,"conditions":[],"wrapper_id":"wrapper-5071-1083","value_type":"radio","field_label":"I'd like to receive special offers by email and agree to my data being stored for this purpose","layout":"horizontal","required":true}],"settings":{"pagination-header":"bar","paginationData":{"pagination-header":"bar"},"formName":"Booking Form","version":"1.12.1.1","form-border-style":"none","form-padding":"","form-border":"","fields-style":"enclosed","validation":"on_submit","form-style":"flat","enable-ajax":"false","submission-behaviour":"behaviour-redirect","thankyou-message":"<p class=\"p1\">Thank you for your inquiry. Please call or text if we don\u2019t get back to you in with 24 hours.<\/p>\n<p>PopupEvents - \u202d07858 532348\u202c<\/p>","submitData":{"custom-submit-text":"Request Booking","custom-invalid-form-message":"Error: Your form is not valid, please fix the errors!"},"validation-inline":"1","form-expire":"no_expire","use-admin-email":"true","admin-email-title":"Booking of - {checkbox-2} - {name-1} : {date-1}","admin-email-editor":"<p>You have a new booking request: From\u00a0<strong>{name-1}\u00a0<\/strong><\/p>\n<p><strong>Phone: {phone-1} Email: {email-1}<\/strong><\/p>\n<p><strong>Date:\u00a0<\/strong>{date-1} <strong>Time:<\/strong> {select-1}<\/p>\n<p><strong>Customer Address:<\/strong><\/p>\n<p>{textarea-1}<\/p>\n<p><strong>Hire Address If Different:<\/strong> {textarea-2}<\/p>\n<p><strong>Booking Of:<\/strong> {checkbox-2}<\/p>\n<p><strong>Offer Code:<\/strong> {text-1}<\/p>\n<p><strong>Bouncy Castle Choice:<\/strong> {select-4}<\/p>\n<p><strong>Hot Tub Package:<\/strong> {select-5}\u00a0\u00a0<strong>Hot Tub Size:<\/strong> {select-10}<\/p>\n<p><strong>Aromatherapy Selection:<\/strong> {select-11}<\/p>\n<p><strong>Hog Roast Guests:<\/strong> {number-1}<\/p>\n<p><strong>Pic N Mix Bouncy:<\/strong> {select-6}<\/p>\n<p><strong>Fairground Addon:<\/strong> {select-7}<\/p>\n<p><strong>Pic N Mix 3rd:<\/strong> {select-8}<\/p>\n<p><strong>Pic N Mix 4th:<\/strong> {select-9}<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>","admin-email-recipients":["[email protected]","[email protected]"],"form-padding-top":"0","form-padding-right":"0","form-padding-bottom":"0","form-padding-left":"0","form-border-width":"0","form-border-radius":"0","cform-label-font-family":"Roboto","cform-label-custom-family":"","cform-label-font-size":"14","cform-label-font-weight":"bold","cform-title-font-family":"Roboto","cform-title-custom-family":"","cform-title-font-size":"45","cform-title-font-weight":"normal","cform-title-text-align":"left","cform-subtitle-font-family":"Roboto","cform-subtitle-custom-font":"","cform-subtitle-font-size":"18","cform-subtitle-font-weight":"normal","cform-subtitle-text-align":"left","cform-input-font-family":"Roboto","cform-input-custom-font":"","cform-input-font-size":"16","cform-input-font-weight":"normal","cform-radio-font-family":"Roboto","cform-radio-custom-font":"","cform-radio-font-size":"14","cform-radio-font-weight":"normal","cform-select-font-family":"Roboto","cform-select-custom-family":"","cform-select-font-size":"16","cform-select-font-weight":"normal","cform-multiselect-font-family":"Roboto","cform-multiselect-custom-font":"","cform-multiselect-font-size":"16","cform-multiselect-font-weight":"normal","cform-dropdown-font-family":"Roboto","cform-dropdown-custom-font":"","cform-dropdown-font-size":"16","cform-dropdown-font-weight":"normal","cform-calendar-font-family":"Roboto","cform-calendar-custom-font":"","cform-calendar-font-size":"13","cform-calendar-font-weight":"normal","cform-button-font-family":"Roboto","cform-button-custom-font":"","cform-button-font-size":"14","cform-button-font-weight":"500","cform-timeline-font-family":"Roboto","cform-timeline-custom-font":"","cform-timeline-font-size":"12","cform-timeline-font-weight":"normal","cform-pagination-font-family":"","cform-pagination-custom-font":"","cform-pagination-font-size":"16","cform-pagination-font-weight":"normal","form_status":"publish","form_name":"booking-form","cform-color-settings":"true","button-submit-background-static":"#8300e9","dropdown-border":"#8300e9","calendar-border":"#8300e9","select-border-hover":"#8300e9","dropdown-option-background-active":"#8300e9","admin-email-reply-to-address":"{email-1}","cform-form-background":"#939393","cform-label-color":"#ffffff","label-helper-color":"#ffffff","select-value-static":"#333333","radio-label":"#ffffff","form-font-family":"custom","admin-email-from-name":"","poll-padding":"custom","poll-border":"custom","use_donotcachepage":"1","use-custom-css":"","calendar-arrows-bg":"#9e17e8","calendar-days-background-active":"#9413c6","button-submit-background-hover":"#b600ff","select-icon-hover":"#b316e2","select-icon-active":"#a314ce","autoclose":"1","radio-icon":"#9717e8","calendar-days-color-current":"#8300e9","calendar-days-background-current":"rgba(131,0,233,0.29)","button-submit-background-active":"#8300e9","newtab":"sametab","redirect-url":"http:\/\/www.popupevents.company\/email-submitted"},"client_id":null,"notifications":[{"slug":"notification-1111-2222","label":"Admin Email","email-recipients":"default","recipients":"[email protected]"replyto-email":"{email-1}","email-subject":"Booking of - {checkbox-2} - {name-1} : {date-1}","email-editor":"<p>Date Out:\u00a0<\/p>\n<p>Date Due Back:<\/p>\n<p>{all_non_empty_fields}<\/p>"}]},"status":"publish","version":"1.12.1.1"}

    • This reply was modified 4 years, 11 months ago by nickw10.
    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @nickw10

    I hope you are doing well!

    I’m afraid the code that is shared here can’t be imported as there is an empty space or a special character was converted. Please use pastebin.com and share with us link that contains the export code.

    Thank you!

    Kind regards,
    Nastia

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @nickw10

    I hope you are doing well!

    We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

    Thread Starter nickw10

    (@nickw10)

    Oh no, sorry I never saw the last comment about Pastebin.

    Nick

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @nickw10

    I trust you’re doing well!

    If you still have this issue, please use Pastebin and share a link to the file.

    Otherwise, you may export the txt file and upload the actual file to Google Drive or Dropbox and share a download link with us.

    Please advise,

    Kind regards,
    Nastia

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Notice: Undefined index: Checkbox 4’ is closed to new replies.