Timeline for How to make hidden field not required?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 27, 2017 at 12:04 | vote | accept | Kshitij Soni | ||
Jul 27, 2017 at 11:27 | comment | added | Neograph734 | @KshitijSoni see this question: drupal.stackexchange.com/questions/14173/… | |
Jul 27, 2017 at 11:25 | comment | added | Kshitij Soni | can I manage this by using condition in "visible" field ? | |
Jul 27, 2017 at 11:24 | comment | added | Neograph734 | True, though depending on the situation it might be useful to the OP. It does add a red asterisk to aid the user when filling in the form :). And with a small validation callback it can be checked server side if you need to have that 100%. | |
Jul 27, 2017 at 11:21 | comment | added | Clive♦ | AKA "100% unreliable" @Neograph734 :) Client side "validation" is for bells and whistles, it doesn't really deserve the suffix "validation" IMHO | |
Jul 27, 2017 at 11:19 | comment | added | Neograph734 | I'd like to add to that that you can also use states to make a field required. But since the validation is done client-side, it can be circumvented and is not 100% reliable. | |
Jul 27, 2017 at 11:16 | history | answered | Clive♦ | CC BY-SA 3.0 |