Custom Form - capacity limit with additional dynamic response


(Adeline Yaw) #1

Hi,

 

Just wanted to know if it's possible to create a custom form with a capacity limit that will take into account a dynamic input (from the user).

 

For example I have a form to create for an event with a capacity limit of 100 and within this form, people can bring a guest (this is optional). So I just wanted to know if this is possible to do within Squiz?

 

I've looked at whether I need to use triggers and conditional keywords but can't find anything related specifically for custom forms.

 

Any info about your experiences with this would be appreciated and if any Squiz staff can point me in the right direction, that would be awesome :)

 

Cheers,

Adeline


(Nic Hubbard) #2

Custom Forms have a "Number of Submissions allowed" option that you could set to 100.  Is this what you were needing, or is there more?


(Bart Banda) #3

What Nic suggested works with a fixed value and is based on the number of form submissions. If you want it to be more dynamic you probably need to use something like a counter value, maybe update a metadata field on the form using a trigger when a form submission comes in. So use a trigger to update the metadata field by 1 or 2 depending on the form field value. The Issue Counter Value trigger action might be of use here to, although I have never used it in practice, but from reading about it sounds like it could work for your situation: http://manuals.matrix.squizsuite.net/triggers/chapters/trigger-actions#Issue-Counter-Value


(Adeline Yaw) #4

Thanks Bart! will take a look at using your suggestion.

 

 

Hi Nic, Bart's reply is more along the lines of what I need to achieve but if you have experience implementing this, I will be more than happy to get your feedback :)