Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2016
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Dropdown options

    Hello,

    I am looking for some assistance on adding options to an already existing dropdown (see image).

    -screen-shot-2016-11-18-9.24.42-am.png

    The code for the existing options is as follows:

    Code:
    <td class="bold">~[text:psx.html.admin_seop.careerpathways.primary_pathway]</td>
    <td><select name="[01]Primary_Pathway"><option><option value=Technical>~[text:psx.html.admin_seop.careerpathways.technical]<option value=Scientific>~[text:psx.html.admin_seop.careerpathways.scientific]<option value=Artistic>~[text:psx.html.admin_seop.careerpathways.artistic]<option value="Social Humanitarian">~[text:psx.html.admin_seop.careerpathways.social_humanitarian]<option value="Bus. and Marketing Mgt.">~[text:psx.html.admin_seop.careerpathways.bus_and_marketing_mgt]<option value="Business Information">~[text:psx.html.admin_seop.careerpathways.business_information]<option value=Agriculture>~[text:psx.html.admin_seop.careerpathways.agriculture]</select></td>

    How would I go about creating additional options?

    Thanks for your time and input!

  2. #2
    Senior Coder deathshadow's Avatar
    Join Date
    Feb 2016
    Location
    Keene, NH
    Posts
    3,568
    Thanks
    5
    Thanked 516 Times in 503 Posts
    You would just add them in the <select>, but it's hard to say more than that wihout knowing which rubbish templating system is in use there given it seems to be extracting values from that psx.html file (I think)

    What CMS/codebase is it running? Which template system? It's got some convoluted/complicated non-standard stuff going on that doesn't make this a simple HTML question.

    Though I get the feeling it's using scripting on a SELECT to do what should be anchor's job.... and the presence of table elements isn't a good sign either.
    “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies.” – C.A.R. Hoare, The 1980 ACM Turing Award Lecture
    http://www.cutcodedown.com


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •