Webmastersite.net
Register Log In

How to vary the options in a dropdown

Title How to vary the options in a dropdown
Description based on the CATID the link is below....?
Message Text Hi, is there a way of showing a specific currency in a dropdown box based on the category ID? To illustrate: Lets say I have a dropdown box with 3 currencies - £, $ and the third one should vary depending on which category the user is putting a link under, eg if its under the France category, I would like the option to be FR So I'm visualising something like this:
<select name="currency"><option value="£">£</option><option value="$"> $</option><IF {CATBENEATH}=1><option value="FR">FR</option></IF></select>
obviously thats not correct but just for the purposes of demonstrating what any advice appreciated. I'm trying to achieve.....
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership capitaine
Views 401 views. Averaging 0 views per day.
Similar Topics
Submission Date Jan 30, 2006 - 7:12 PM