Limiting form submissions trigger


(Clementoke) #1

Hi all,

I remember in my training the instructor showing me how to hide a form after I'd received a set number of submissions. This was on the old Squiz training booking site. Does anyone know an easy way of setting up this trigger? I think it changes the paint layout of a page to swap out a nested form with other text.

My problem is I am trying to nest the form in a calendar event page - is that doable?

Thanks,

C


#2

You can also just set the form submissions limit on the form contents. Then a user if they attempt to fill it out will get an error message. But I understand what you mean. For UX we wouldn’t even want to annoy the user by getting them to even attempt to fill it out.


(Bart Banda) #3

One way you can do it is to nest in an asset listing and list the number of form submissions or just count them using the %asset_count% keyword. If that equals some number, you can hide the form with CSS or maybe even keyword modifiers. 

 

Would be interested to hear the method your trainer suggested though.