• hello,

    I have setted the form to pass value to another url by enabling
    passing url parametrs.

    It works, but in the select options, instead to pass the option values,
    it passes number options

    For example,
    in the select “cities” option I have added:
    Rome
    Berlin
    Tokio

    but in url it passes &cities=2 instead cities=Berlin

    Hot can i set it?

    Thnk you!

    https://www.ads-software.com/plugins/si-contact-form/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I just did a test and the URL query for a select field it sent was
    &cities=Berlin

    I am using version 4.0.15 with these settings:
    Redirect Settings
    Enable posted data to be sent as a query string on the redirect URL

    Thread Starter artigianidelweb

    (@artigianidelweb)

    Ok,
    it is right, thank you.

    So I have checked the problem is the difference between
    Fast Secure Contact Form option value and / name inside.

    For example,

    ————————————-
    Fast Secure Contact Form 1:
    ————————————-
    <select id=”fscf_field1_14″ class=”fscf-input-select” name=”cities[]”>
    <option value=”1″>Rome</option>
    <option value=”2″>Berlin</option>

    ————————————-
    URL VALUE
    ————————————-
    &cities=Berlin

    ————————————-
    Fast Secure Contact Form2:
    ————————————-
    <select id=”fscf_field1_24″ class=”fscf-input-select” name=”cities[]”>
    <option value=”1″>Rome</option>
    <option value=”2″>Berlin</option>

    So here the difference: the value of the second form is not “Berlin”, but 2!

    —> ho w can set the option value in the second form so it will be catch it automatically?

    OR:
    How can set the option field like:
    <option value=”Berlin”>Berlin</option>

    Thank you so much!

    You can use
    Rome==Rome
    Berlin==Berlin

    Here are the instructions for Field options
    Select options:
    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.

    Multi-page forms limitation:
    If you are trying to make a multi-page form out of this feature, the fields with options do not pass properly to form 2 because it expects option number as query input. The problem is: Form 1 sends out options as value strings, but form 2 only accepts input from query options as key numbers, not value strings.
    This is a known limitation that remains to be resolved in possible future updates.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Passin selct options to another form’ is closed to new replies.