Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Change form field labels based on gender

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #46403
    jony
    Participant

    Hi guys,

    Quick question.

    I’m interested in creating a form that once they select if they are male or female, all subsequent fields will change to reflect their choice.

    i.e.

    he/she goes to school at _____
    his/her favourite activity at camp is _____
    his/her favourite food at camp is _____

    Things like that.

    I’m assuming this would be a dynamic change via js/jquery?

    Thanks for your help!

    #143044
    TheDoc
    Member

    JS/jQuery is definitely your answer! Here’s a quick little demo for you: http://codepen.io/ggilmore/pen/8efd383fcb977d46b098322f371ff581

    #143045
    jony
    Participant

    @TheDoc – thanks! Exactly what I needed

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.