• How can I create a form with a drop down list that dynamically changes and removes an option from the list each time it is selected? For example I want to run a fantasy football league.. I’d like a form that list 30 teams…each time a user completes the form and selects the team i’d like for that team to be removed from the list. Is this possible? Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi sirflex10,
    Actually your said question is vague for me and i didn’t get exactly.
    Please elaborate it so i can help you.

    Thread Starter sirflex10

    (@sirflex10)

    Thank you Bhavesh I would like form that contains a drop down list of items. Each time an item is selected by the user the item is removed from the list.

    sirflex10 –

    As per my understanding you could achieve this by two way.
    1. When you save your form record(for example fantasy football league) then create a flag in database.After successful submission remove that item by fetching only remaining item(team).

    2. If you are submitting a form using AJAX then you can hide item(team) using jQuery tactic.(means hide select option on change event)

    If above recommendations are not pertinent,feel free to neglect it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to create drop down options that dynamically change if a user selects one’ is closed to new replies.