Radio button help

kongmarius 16 Dec, 2010
So, I've just started out using Chronoforms, and I need some help to create a form which suits what I'm after.

First of all, I'd like the email recipient to change, depending on which radio button the user selects.

For example;

If the user selects "send to admin", the email will be directed towards the administrator.
If the user selects "send to store", the email will be directed towards the owner of the store.
And, if the user selects "send to company", additional radio buttons will appear, allowing the user to specify which employee he'd like to contact.

Alternatively, if this isn't possible, I'd like the radio buttons to redirect to another form.

For example;

If the user selects "administrator", it will redirect him to a form, which has the admin as the recipient.
The same with store and company (additional buttons leading to specific recipient.).

Any help is appreciated🙂
GreyHead 16 Dec, 2010
Hi Kongmarius,

You can do this fairly easily. FAQ #31 has the code for changing emails based on a drop-down; you'll need to adapt it to work with radio buttons and add JavaScript to hide and un-hide the additional buttons.

Bob
This topic is locked and no more replies can be posted.