• Resolved robwuk

    (@robwuk)


    I want to define my own values on a dropdown list, currently FS Contact Form assigns a value number depending on what is selected. ie 4th option has the value=”4″

    I want to choose my own values depending on what they select

    I have no problems with creating the dropdown and its options, its just the values i would like help on.

    Any help appreciated

    Rob

    https://wordpress.org/plugins/si-contact-form/

Viewing 4 replies - 1 through 4 (of 4 total)
  • mbrsolution

    (@mbrsolution)

    Hi Rob, I am not sure if what you want to do is doable in the plugin. I will send a message the plugin Author.

    Thank you

    Thread Starter robwuk

    (@robwuk)

    Thankyou for reply

    It does seem a little odd that you can define the option names but not the values, as the rest of the plugin is fantastic

    Rob

    Yes you can do it on the WordPress version, not the PHP version

    Version 4.xx: List of options for select, select-multiple, radio, and checkbox-multiple field types. Type the options, one per line. This entry is required for these field types. The first option of a select field type can be in brackets to indicate that it must be selected, example: [Please select]. If you add options as a key==value set (use == to separate) the value will show on the form and the key will show in the email.

    Hi, Mike
    I’m trying to follow your tip to change the values in a select field.
    I need change the couple option – value:
    Curso 1 – 101
    Curso 2 – 102
    Curso 3 – 103

    Using
    101==Curso 1
    102==Curso 2

    doesn’t work (show option=Curso 1 value=1, option=Curso 2 value=2, … in the form)
    Any help appreciated
    Cheers
    Perico

    It works!
    The code in the page is curso1 – 1, curso2 – 2…, but it sends 101, 102, 103…
    Sorry

    • This reply was modified 8 years, 11 months ago by perico55.
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Specific values on a dropdown’ is closed to new replies.