Logiqx / wsw-tech

Technical tasks relating to Weymouth Speed Week
0 stars 0 forks source link

Limiting an entry to one per person. #56

Closed nickjpovey closed 1 year ago

nickjpovey commented 1 year ago

I think it desirable not to have multiple entries from a person and probably desirable that they don't edit their own entry as we may have allocated Motions.

I want to create some code that allows only one entry per Joomla account per event.

The desired response on a second attempt at entering would be as attached.

Screenshot 2023-03-26 135218

nickjpovey commented 1 year ago

Been gardening and thinking. With the process for 2023 we are not held by the Joomla account in order to join tables and data together. With the new process the Joomla account merely hides the forms from Public view and thus gives us some control of access.

An entry form when completed has all of the data necessary for that person.

Perhaps there is merit in allowing one account holder to submit multiple forms or forms on behalf of someone else?. E.g. Mother for children, Father and son entries, husband and wife. In the past each needed it's own unique Joomla account, unique email etc

Your thoughts?

Have a play with the form and the on-line edit function to allocate Motions first. The web site front end for administration is edit only. The backend allows us to delete entries entirely.

You are SuperUser for both of your accounts (Sailboard and Wingboard).

nickjpovey commented 1 year ago

I have implemented the one person can enter on behalf of others option.