Required field is sometimes no registered in DB, why ?

Repitol 09 Jul, 2012
Hi,
here is my problem of the day :

a required field (radio box) which is declared in Data view, is from time to time empty in datas (not everytime).
My form is online and works well. If user tries to overpass this field, he can't submit.

How can some users register without checking this required field ?

I can give admin access and url in private message if needed.

Thanks
Best regards
GreyHead 09 Jul, 2012
Hi Repitol,

This can happen if the user has JavaScript disabled in their browser - that disables the client-side validation. You should add a server-side check to be sure.

Bob
Repitol 10 Jul, 2012
Hi,
Ok for that (don't know how to do, but I hope I'll find).
Thanks
GreyHead 10 Jul, 2012
Hi Repitol,

To validate a required input you can use the Auto Serverside validation action.

Bob
Repitol 13 Jul, 2012
Hi Bob,
I've seen Auto Server Side Validation in Core actions.
Thanks for that clue.

to fix my problem I'd put a default choice in my radio box field. Then, user couldn't leave a blank field in DB (csv export). It was not a correct fix cause no way to be sure the choice in that field was the good one.

(Bob, I still don't have an invoice for my 5 licences purchase (sale 4742733659), no answer from Mike, would you please ask him to reply if possible ?) :wink:
GreyHead 13 Jul, 2012
Hi Repitol,

I had forgotten that there is a known bug with the checkbox group validation and probably the same with radio buttons.

You should still be able to use serverside validation to check if there is a value set.

Max is away this week and only picking up emails occasionally. I expect that he will get back in touch about your invoice when he is in his office again.

Bob
Repitol 16 Jul, 2012
Hi,
ok. Thanks.
I really need that invoice cause our accountancy has to be closed tomorrow.
GreyHead 16 Jul, 2012
Hi Repitol,

I'm sorry but there is nothing that I can do about your invoice. Please contact Max using the Contact Us form above.

Bob
This topic is locked and no more replies can be posted.