Repeater form that is initially hidden except for add button

By: JK Tor | Asked: 09/07/2024
ForumsCategory: General questionsRepeater form that is initially hidden except for add button
JK Tor asked 1 week ago
My use case is to have the form hidden except the add button since there is a possibility that the user may not have an entry at all. For example if the form was asking for children’s details, there is a possibility that there are no children and no need for the repeater to display. I’d like the interface to be uncluttered and if there are entries, then it would show. I don’t want the repeater form to initially display. 

I didn’t see anything in the advanced options and hope there is an easy way to do this. 

Thanks in advance and I really appreciate this forum and the folks that help!!
1 Answers
Rob LeVineRob LeVine answered 1 week ago
An easy way to do it is to set the repeater field to be conditionally hidden based on a radio button or checkbox with a question such as "Do you have any children?" and if it's no (default), the repeater field is hidden and if it's yes, show the repeater field.
JK Tor replied 1 week ago

Thanks Rob! Yes, that works. I played around with it this evening. The final solution for me was to have a checklist of items that opened a series of hidden repeater fields if selected. Good way to hide complexity if it’s not needed.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right