This help desk is no longer actively support. We have switched to a ticketing system to more smoothly manage support, and free up development time. Your newly created tickets won't be available here. You will instead have an email history of your new tickets.

We are working on moving everything current and helpful from public tickets into the docs. This will be a long process and in the meantime, public tickets will remain searchable.

Your private tickets will remain available to you indefinitely. See your old tickets.

Help Desk

Would like to gray out reserved time slots

Labels

This Ticket is public

Notifications

test

I have the above form for visitors to reserve a Bowling Lane with a time slot.

I have everything setup correctly and working.

My issue I can't figure out is how to make the time slots already purchased to appeared grayed out.

You can test the form via the link above.
I have already reserved Lane 1 at 7:00PM and Lane 4 at 10:00PM.
You can select those Lanes and time to see the error the visitor would receive. (Image attached)

NOTE: This form will connect to PayPal, when all is working correctly.

Thank you for any insight and help.

Link(s) to Form/View

http://thearcalliance.org/test/


Attachment:

Hi there,

This code example to remove dropdown options after n submissions should get you started. https://formidableforms.com/knowledgebase/frm_setup_new_fields_vars/#kb-remove-option-after-n-submissions

Replace 426, 427, and 428 with the dropdown field IDs that you want to limit and change $count >= 5 to $count >= 1 to limit it after one submission.

I would recommend using the Code Snippets plugin when inserting custom PHP functions like this to your site. See: https://formidableforms.com/knowledgebase/formidable-hooks/

Does that work for you?

This worked perfectly!

Thank you for the direction.

 

One more thing. Can you make this ticket PUBLIC, so that others can learn from it?
Thanks

Glad to hear that! I'll let our team know and maybe we could add it to the documentation as well.

Ticket closed.