Add #states in a webform I have a webform in my site in that am trying to make toggle for a radio button but the field i require do not have #states .How to add the attribute #states in a webform component using form alter?
Try Webform conditional module, it provides you the same thing.