Summary:
Programmable destination email address using urlparam
Detailed Description:
I would like to my site to be able to have many links like this:
http://mysite.com/index.php?page=contact&id=ID
which would send the user to a single unified contact form that has a
programmable destination. It seems that it could either be implemented:
1. As an extension of calguy's value_FIELDNAME='default_value' to make it work
with "Email results based on pull down"
or, better yet
2. As a new field type "Email results based on urlparam". The FormBuilder user
would supply a list of ID's and corresponding email addresses. The ID would be
passed as a urlparam id=ID, FormBuilder could look up the corresponding email
address to send email to, or else fall through to a default case that would
email to a "catch all" email address. A blank urlparam or invalid urlparam would
then be handled neatly.
See a work-around at
http://www.i-do-this.com/blog/FormBuilder-set-the-destination-e-mail-with-a-variable/57.
I'm hoping for an easier way than this work-around and one that other CMS users
can benefit from.
See my question on http://forum.cmsmadesimple.org/viewtopic.php?f=8&t=73808. I
can't implement the solution suggested because the "Email address based on pull
down" field doesn't accept a value_FIELDNAME parameter. Other types of fields
do, but not this one.