The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Limit drop down (reserve seat) - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Limit drop down (reserve seat) (/showthread.php?tid=4552) |
Limit drop down (reserve seat) - skorge - Aug 26th, 2014 Hi all, I've been searching the documentation and the forums for an answer to my question but cannot seem to find it so here it goes: I would like to create a drop down selection field where users can reserve a seat for a number of presentations. I have a limited number of seats and would like to limit the number of reservations to each presentation, and if possible display the number of remaining seats for each one. Can anyone give me a hint how to accomplish this? Thanks! Michael RE: Limit drop down (reserve seat) - Joe - Sep 2nd, 2014 Hi Micahel, This functionality is not built into Form Tools. I would use the external form method and build the logic with PHP or Javascript. You'll need to query the number of seats and subtract it from the total number of seats available for that particular presentation. The available seats could be either set in a config file or you can create a form for presentations in Form Tools and have a "seats" field. Cheers, Joe |