Forum Moderators: open
I'm trying to add a JS function to a form such that a user will be presented with either field1 or field2 to complete depending on the value of a radio button above the fields.
I guess I'm essentially asking how I can toggle between displaying 2 pieces of html with a radio button. I'm sure this is super-easy but I'm a bit of a JS newbie and the brain's in Friday mode!
Any pointers would be much appreciated.
Cheers.