1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

limit the number of subscribers to 6 users per "Schedule"

Discussion in 'Community' started by mvilela, Feb 14, 2020 at 5:22 PM.

  1. mvilela

    mvilela Member

    Level: Community
    I created a form to register for the club's sports events.
    Among the various fields there is the field "Schedule" (databasejoin-with indication of the times) where the user chooses the time of his test.
    How to limit the number of subscribers to 6 users per "Schedule"
     
  2. lousyfool

    lousyfool Active Member

    Level: Community
    Guess the most "elegant" way would be if you don't offer time slots that are already full.
    So, spontaneously I'd say a PHP form plugin should do, where you loop through the time slots and do a count of those taken, then remove the options which are full.
     
  3. mvilela

    mvilela Member

    Level: Community
    I appreciate the suggestion, but ..... I don't know php programming.
     
  4. lousyfool

    lousyfool Active Member

    Level: Community

Share This Page