• Resolved CL Cannon

    (@courtneycannon)


    I have worked and worked with this for hours and I cannot get the repeater field to work even though I have it side by side with the example form and all the settings are the same.

    We have a homeschool co-op with 3 locations. We’re trying to make our waitlist process easier.
    We want potential parents to tell us how many kids they would like to enroll, then populate name and age fields based on how many children they select.

    Currently, we can only do it where we put up 6 student blanks when any number is selected. Using the add or remove buttons do nothing and if we only put the one blank up, no matter what is selected in the number dropdown, only one blank will be populated.
    We do have all the conditions set just as in the example code.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter CL Cannon

    (@courtneycannon)

    {"type":"form","data":{"fields":[{"id":"name-1","element_id":"name-1","form_id":"wrapper-3960-3566","parent_group":"group-1","type":"name","options":[],"cols":"6","conditions":[],"wrapper_id":"wrapper-3960-3566","field_label":"Your Child's First & Last Name","placeholder":"","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","prefix":"true","fname":"true","mname":"true","lname":"true","required_message":"Name is required.","prefix_required_message":"Prefix is required.","fname_required_message":"First Name is required.","mname_required_message":"Middle Name is required.","lname_required_message":"Last Name is required.","layout_columns":"2","required":"1"},{"id":"text-17","element_id":"text-17","form_id":"wrapper-3960-3566","parent_group":"group-1","type":"text","options":[],"cols":"6","conditions":[],"wrapper_id":"wrapper-3960-3566","input_type":"line","limit_type":"characters","field_label":"Your Child's Current Age","placeholder":"","required":"1"},{"id":"hidden-1","element_id":"hidden-1","form_id":"wrapper-2433-9647","parent_group":"","type":"hidden","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-2433-9647","field_label":"Date","default_value":"date_mdy"},{"id":"hidden-2","element_id":"hidden-2","form_id":"wrapper-5092-5710","parent_group":"","type":"hidden","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-5092-5710","field_label":"Submission ID","default_value":"submission_id"},{"id":"select-2","element_id":"select-2","form_id":"wrapper-8719-8878","parent_group":"","type":"select","options":[{"label":"Yes.","value":"one","limit":"","key":"7890-1294","error":""},{"label":"No.","value":"two","limit":"","key":"1203-2459","error":""}],"cols":"12","conditions":[],"wrapper_id":"wrapper-8719-8878","hidden_behavior":"zero","value_type":"single","field_label":"Is your oldest child at least 6 years old?","multiselect_style":"modern","options_bulk_editor":"Yes.;one; 0\nNo.;two; 0","placeholder":"Select","description":"Please verify that your oldest child is at least 6.","formid":"wrapper-7149-1032"},{"id":"html-1","element_id":"html-1","form_id":"wrapper-9072-4499","parent_group":"","type":"html","options":[],"cols":"12","conditions":[{"element_id":"select-2","rule":"is","value":"two"}],"wrapper_id":"wrapper-9072-4499","field_label":"If you answered 'No' to the question above, your child is not currently eligible to attend Shine.","variations":"<p><strong>At this time, Shine is not accepting children under the age of 6 unless they have an older sibling who can attend with them. Please bookmark this page and come back when your oldest child reaches our minimum age requirement.&nbsp;</strong></p>"},{"id":"page-break-1","element_id":"page-break-1","form_id":"wrapper-3771-5653","parent_group":"","type":"page-break","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-3771-5653","btn_left":"? Previous Step","btn_right":"Next Step ?"},{"id":"text-1","element_id":"text-1","form_id":"wrapper-6278-2250","parent_group":"","type":"text","options":[],"cols":"12","conditions":[{"element_id":"select-2","rule":"is","value":"two"}],"wrapper_id":"wrapper-6278-2250","input_type":"line","limit_type":"characters","field_label":"Parent Name","placeholder":"","required":"1","description":"Please enter your first and last name.","condition_action":"hide","condition_rule":"any"},{"id":"phone-1","element_id":"phone-1","form_id":"wrapper-3060-5664","parent_group":"","type":"phone","options":[],"cols":"12","conditions":[{"element_id":"select-2","rule":"is","value":"two"}],"wrapper_id":"wrapper-3060-5664","required":"1","limit":"10","limit_type":"characters","validation":"none","field_label":"Phone Number","placeholder":"","description":"Please enter your best contact phone number.","condition_action":"hide"},{"id":"email-1","element_id":"email-1","form_id":"wrapper-2194-4316","parent_group":"","type":"email","options":[],"cols":"12","conditions":[{"element_id":"select-2","rule":"is","value":"two"}],"wrapper_id":"wrapper-2194-4316","validation":"","placeholder":"","field_label":"Email Address","required":"1","description":"Please enter your best contact email.","condition_action":"hide"},{"id":"page-break-2","element_id":"page-break-2","form_id":"wrapper-8032-9786","parent_group":"","type":"page-break","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-8032-9786","btn_left":"? Previous Step","btn_right":"Next Step ?","formid":"wrapper-8071-5243"},{"id":"checkbox-1","element_id":"checkbox-1","form_id":"wrapper-7018-2438","parent_group":"","type":"checkbox","options":[{"label":"Shine Colonial Heights","value":"one","key":"6460-2219","error":""},{"label":"Shine Kingsport","value":"two","key":"3619-9715","error":""},{"label":"Shine Bristol","value":"Shine-Bristol","limit":"","default":"","key":"7820-4784","error":""}],"cols":"12","conditions":[],"wrapper_id":"wrapper-7018-2438","hidden_behavior":"zero","value_type":"checkbox","field_label":"Which Locations Are You Interested In Attending?","layout":"horizontal","options_bulk_editor":"Shine Colonial Heights ;one; 0\nShine Kingsport ;two; 0\nShine Bristol ;Shine-Bristol; 0","required":"1"},{"id":"text-23","element_id":"text-23","form_id":"wrapper-3172-2920","parent_group":"","type":"text","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-3172-2920","input_type":"line","limit_type":"characters","field_label":"Which location is your top choice?","placeholder":""},{"id":"number-1","element_id":"number-1","form_id":"wrapper-8898-3279","parent_group":"","type":"number","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-8898-3279","hidden_behavior":"zero","calculations":"true","limit_min":"0","limit_max":"6","field_label":"How many children would you like to enroll?","placeholder":"","description":"Please tell us how many children you'd like to enroll."},{"id":"group-1","element_id":"group-1","form_id":"wrapper-2846-8033","parent_group":"","type":"group","options":[],"cols":"12","conditions":[{"element_id":"number-1","rule":"is_less","value":"7"},{"element_id":"number-1","rule":"is_not","value":""}],"wrapper_id":"wrapper-2846-8033","field_label":"Child Information","is_repeater":"true","max_limit":"6","min_limit":"1","action_element_type":"icon","max_limit_type":"variable","min_limit_type":"variable","condition_action":"show","min_limit_field":"number-1","max_limit_field":"number-1"},{"id":"page-break-3","element_id":"page-break-3","form_id":"wrapper-9545-8746","parent_group":"","type":"page-break","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-9545-8746","btn_left":"? Previous Step","btn_right":"Next Step ?","formid":"wrapper-4551-5410"},{"id":"textarea-1","element_id":"textarea-1","form_id":"wrapper-5427-8045","parent_group":"","type":"textarea","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-5427-8045","input_type":"line","limit_type":"characters","field_label":"How did you hear about Shine Academy?","placeholder":""}],"settings":{"pagination-header":"nav","paginationData":{"pagination-header-design":"show","pagination-header":"nav","page-break-1-steps":"Eligibility","page-break-2-steps":"Parent Information","page-break-3-steps":"Student Information","last-steps":"Submit"},"formName":"Copy of Shine Academy Waitlist","version":"1.34.0","validation":"on_submit","akismet-protection":"1","enable-ajax":"true","autoclose":"true","submission-indicator":"show","form-type":"default","submission-behaviour":"behaviour-thankyou","thankyou-message":"Thank you for contacting us, we will be in touch shortly.","submitData":{"custom-submit-text":"Submit","custom-invalid-form-message":"Error: Your form is not valid, please fix the errors!","conditions":[{"element_id":"select-2","rule":"is","value":"two"}],"condition_action":"hide"},"validation-inline":"1","form-expire":"no_expire","cform-title-text-align":"left","cform-subtitle-custom-font":"","cform-subtitle-text-align":"left","cform-input-custom-font":"","cform-radio-custom-font":"","cform-multiselect-custom-font":"","cform-dropdown-custom-font":"","cform-calendar-custom-font":"","cform-button-custom-font":"","cform-timeline-custom-font":"","cform-pagination-custom-font":"","payment_require_ssl":"","submission-file":"delete","store_submissions":"1","form_name":"shine-academy-waitlist","form_status":"publish","sc_email_link":"1","sc_message":"<p>Your form has been saved as draft and a resume link has been generated so you can return to the form anytime within {retention_period} days from today. Copy and save the link or enter your email address below to have the link sent to your mail.</p><p>These fields weren't saved to your submission draft: Paypal, Stripe, Signature, Password, Captcha, and Upload. Kindly fill them out before submitting the form.</p>","honeypot":"1","use_save_and_continue":"1","use_donotcachepage":"1","appearance_preset":"63e42d77ef649","form-border-style":"none","form-padding":"","form-border":"","fields-style":"open","form-style":"bold","indicator-label":"Submitting...","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":"16","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-subtitle-font-family":"Roboto","cform-subtitle-font-size":"18","cform-subtitle-font-weight":"normal","cform-input-font-family":"Roboto","cform-input-font-size":"16","cform-input-font-weight":"normal","cform-radio-font-family":"Roboto","cform-radio-font-size":"16","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-font-size":"16","cform-multiselect-font-weight":"normal","cform-dropdown-font-family":"Roboto","cform-dropdown-font-size":"16","cform-dropdown-font-weight":"normal","cform-calendar-font-family":"Roboto","cform-calendar-font-size":"13","cform-calendar-font-weight":"normal","cform-button-font-family":"Roboto","cform-button-font-size":"16","cform-button-font-weight":"500","cform-timeline-font-family":"Roboto","cform-timeline-font-size":"12","cform-timeline-font-weight":"normal","cform-pagination-font-family":"","cform-pagination-font-size":"16","cform-pagination-font-weight":"normal","form-font-family":"custom","cform-description-font-size":"14","cform-validation-font-size":"14","cform-color-settings":"true","cform-label-color":"#0d1340","label-helper-color":"#0d1340","input-border":"#0d1340","input-placeholder":"#0d1340","input-color":"#0d1340","input-icon":"#0d1340","radio-border-static":"#0d1340","radio-label":"#0d1340","button-submit-background-static":"#0d1340","response-loading-color":"#0d1340","calendar-dweek":"#0d1340","calendar-days-color-static":"#0d1340","input-bg":"#ffffff","response-error-color":"#0d1340","response-success-color":"#0d1340","calendar-border":"#0d1340","response-loading-background":"#ffffff","cform-form-border":"#0d1340","notification_count":2,"previous_status":"publish"},"client_id":null,"integration_conditions":[],"behaviors":[{"slug":"behavior-1234-4567","label":"","autoclose-time":"5","autoclose":"true","newtab":"sametab","thankyou-message":"<p>Thank you for contacting us. We have received your submission and will contact you when a spot becomes available.?</p>","email-thankyou-message":"","manual-thankyou-message":"","submission-behaviour":"behaviour-thankyou","redirect-url":""}],"notifications":[{"slug":"notification-1234-4567","label":"Admin Email","email-recipients":"default","recipients":"[email protected], [email protected]","email-subject":"New Shine Academy Waitlist Response","email-editor":"<p>You have a new Shine Academy Waitlist form submission: <br />{all_fields} <br />---<br />This message was sent from {site_url}.</p>","email-attachment":"true","type":"default","conditions":[],"from-name":"","form-email":"","replyto-email":"","cc-email":"","bcc-email":""},{"slug":"notification-0008-7000","recipients":"{save_and_continue_email}","label":"Save and Continue","email-subject":"Your {form_name} form on {site_title} has been saved as draft","email-editor":"<p>Hi there!</p><p>You've successfully saved <b>{form_name}</b> form on <a href='{site_url}' target='_blank' rel='noopener noreferrer' style='color:#17A8E3'>{site_title}</a>.\nTo continue where you left off, click the link below or copy the link to your web browser.</p><p><a href='{form_link}' target='_blank' rel='noopener noreferrer' style='color:#17A8E3'>{form_link}</a></p><p>The above link will expire in {retention_period} days. Also note that anyone visiting the link will be able to view your partially completed form data.</p>","email-recipients":"default","email-attachment":"false","type":"save_draft","conditions":[]}]},"status":"publish","version":"1.34.0"}

    Here is the code of the form if we cut it down to one blank instead of six. (I duplicated the form and edited it since we can’t change the form and have it live on the website)

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @courtneycannon,

    I’m sorry if I repeat myself, but I’m afraid, I’m not sure I fully understand the concerns.

    Is the issue with the “Add or Remove” item buttons not showing up? Or are you looking to change any workflows based on how the form loads?

    Since you are using “Variables” for “Minimum repeater limit” the “Add Item” and “Remove Item” buttons won’t display. The “Variables” will be adding/removing the items based on the value entered in the Number field.

    and if we only put the one blank up, no matter what is selected in the number dropdown, only one blank will be populated.

    Possible to provide a screenshot of how it behaves on your side, so that I could assist better?

    Looking forward to your response.

    Kind Regards,

    Nithin

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @courtneycannon

    We didn’t hear back from you for quite a while already so I’m marking this as resolved for now.

    If you still need assistance with the case, let us know and we’ll get back to you.

    Best regards,
    Adam

    Thread Starter CL Cannon

    (@courtneycannon)

    I replied but it didn’t seem to go through for some reason. I still need help with this.

    I want the workflow to change based on the answer given in the dropdown.

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @courtneycannon

    Thank you for getting back to us!

    I’ve imported the form that you shared earlier to my test setup and checked it. It is set correctly and seems to be working perfectly fine on my end:

    – initially the “Child Information” field does not show
    – if I put any number between 1 and 6 into the “How many children would you like to enroll?” filed – it shows and contains that number of rows (e.g. if I put number 3, I got 3 rows of “Your child’s First & Last Name” and “Your child’s current Age” field pairs)

    I checked it on your site also and it also does exactly this there. Take a look please (this is from your site):

    https://app.screencast.com/oJSPz32rHlAPK

    Is this not how it behaves for you or am I missing something and testing it in a wrong way?

    Let us know, please.

    Kind regards,
    Adam

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Repeater Field Not Working’ is closed to new replies.