@Manukumar Just a note, the above is an official warning. Do not invite random people into a room unsolicited. If you've had a discussion with them in another room or on the main site and you wish to continue, it is OK, but please do not invite arbitrary people, otherwise your chat privileges will be temporarily revoked.
@Manukumar listen to the moderators. If you have a question ask it on the main site. That's where you will get help. The chat room is just a social way to talk about Drupal and other stuff.
@ManishEarth Cya, I'm gonna go back to AU and AU chat room! :P
Hi all. I have dumb question I don't even know how to bite. Is there a way to know, in form submit handler, if the field got disabled with states, custom JS or any other client-side means? Do you have any idea? $form_state seems not to give that to me.
@AjitS well I could replicate the same logic I give to states inside my form submit, but I can't see nay other way. Anyway, sadly, most of the time that's not really what I need as it's a custom script that handles it. But it reacts to user's behavior. Is adding hidden checkboxes the only way to do it?