Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8209 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi All,

I am creating an online registration form using FMPro as the backend database. Users are asked to select a date and time from a drop down menu (whose values come directly from a value list within the FMPro database). Whenever a given date and time has reached thirty registrations, that date and time should be removed from the value list, signifying that it is full and no more registrations can be accepted. Therefore, when another user returns to the website, he/she will not see the dates and times that are full.

My question is this: have any of you ever wrote a script to facilitate this kind of action? If so, please feel free to respond. I do have a programming background (VB, Java, C++), so feel free to use programming lingo if need be.

Thanks for reading this. Regards,

Cristy

Posted

Hi Cristy,

It sounds like your doing some kind of class registration system. If this is the case, here is an idea. You could use a 'counter' field that keeps a running count of registrations. When it reaches 30, you could have FileMaker generate a "Sorry - Class Full" page back to the user.

Another idea. Create a 'calculated' value list that looks at the 'counter' field to see if is equlas 30. If the 'counter' field equals 30, then use ("") as the value list item.

Hope this helps...

Bob Kundinger

Posted

Hi Bob,

Thanks for your reply. You've given me some good ideas, but I have a few questions if you don't mind.

How would you go about creating a calculated value list? and where should/could I include the counter field? Is it possible to associate a counter with each item in the value list, perhaps with a conditional relationship of some sort?

Thanks for any insight,

Cristy

This topic is 8209 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.