I think that is possible with Code pack and "Before Render".
In my event registration form, I would like to limit the number of participants per day. For example, my event is 3 days: day 1: limited to 15 people day 2: limited to 15 people day 3: limited to 15 people
A person can choose to participate in 1, 2 or 3 days.
How can I automatically disable the registration field for a day when it is full? Maybe with Code pack, but how to do it?
I bought the SQL PACK plugin, it works perfectly. But when it is used as a restriction, I would have liked to be able to
choose the state of the field: deactivated, masked, value or read only. Currently the state is disabled only, the field can not appear width default value in the field "E-mail" for example
this won't happen as this is how restriction works, it basically removes field from the fields.
To get what you desire you can add another field with the same storage, set desired variation e.g. read-only and then add the same restriction, but with Invert option set to yes. This means that field will only show when restriction happens. This way you will always have only one of this 2 fields displayed at the same time.