• Resolved Andi

    (@atanke)


    Hi at all,
    I’m searching for an option to change the receivers email address via parameter.
    I’ve added a field like

    <label> receiver (mandatory) <br> [select receiverselection
                        "general|[email protected]"
                        "special|[email protected]" ] </label>

    but if I call the site with “/kontakt/?receiverselection=special”
    it just shows the first result, not the selected one.
    I’m sure some weeks ago it works fine.

    Any ideas what can be the problem for this and how I can solve it?

    Best Regards

    Andreas

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @atanke,

    The issue you’re having is because you need to passing an option to the form tag in order to detect GET parameters: default:get.

    So, your code now should look like:

    <label> receiver (mandatory) <br> [select receiverselection default:get "general|[email protected]" "special|[email protected]" ] </label>

    I hope this helps you.

    Best regards,
    Yordan.

    Thread Starter Andi

    (@atanke)

    That’s it, many thanks.
    It helps wonderful 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Set Receiver address via parameter’ is closed to new replies.