Hotspot tunning website request

Hello,

I need to put the terms and conditions on the hotspot login page, but I need that the costumer mark the check box (I read the term and conditions bla bla..) before click enter. If they click enter before marking the check box, I need to show an error.

Anyone did this?


Thanks!

Google ‘javascript checkbox before submit’ and similar search strings. The idea is to not immediately submit the form, but to first check via Javascript whether the box is ticked and to either throw an error or submit the form for the user. Alternatively you could do things like show the submit button disabled and have an event trigger on the checkbox that enabled it when it is checked.
But really those are HTML questions and details about them should go into different communities.

yes, we are doing this, but we have problems with the alert javascript and an error in the form.

I’ll post it when we have all 100% done. This post was to try to avoid some time ; D!

thanks,