Skip empty fields in Success Page?

Issues related to forms.
Post Reply
davidsho
 
 
Posts: 30
Joined: Tue Aug 04, 2015 3:29 pm

Skip empty fields in Success Page?

Post by davidsho »

I have a form with a dozen or so list boxes; users select one or more items from one or more list boxes. The Form Processing email lists data only for those list boxes for which selections have been made, ignoring those where no selection was made. This is ideal. Example:
Pre Ballet : Saturday,9-9:45am
Ballet I : Friday 5:45-6:45pm
Register : Register Now!

This response skipped the Beginning Ballet list box, which comes between the Pre Ballet and Ballet I boxes.

I would like to do the same when processing the variables in the success page. My current set up for the Success Page lists every list box by name in text (e.g. "Pre Ballet:") followed by the variable indicator (e.g. $Pre_Ballet) The response includes every list box, even if no selection is made:
Pre-Ballet: Saturday,9-9:45am
Beginning Ballet: $Beginning_Ballet
Ballet I: Friday 5:45-6:45pm


I would like it to skip the Beginning Ballet box as the form processing email does. Is this possible?

Thank you!
Last edited by davidsho on Sun Jul 23, 2023 8:41 pm, edited 1 time in total.
User avatar
Pablo
 
Posts: 23234
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Skip empty fields in Success Page?

Post by Pablo »

There is currently no standard solution for this, so this will require a custom script.
davidsho
 
 
Posts: 30
Joined: Tue Aug 04, 2015 3:29 pm

Re: Skip empty fields in Success Page?

Post by davidsho »

OK. Thank you.
Post Reply