Hi all,
I am using CFv6 and doing this in builder mode.
I have a dropdown that is pulling fields from a DB using the following in the options {var:read_data4}, and from a Load Data. This works great, records to a new DB and all. No dramas.
If I want to copy a second field to a text field based on the selection from the drop down what would be my best options. If it can be explained so I can build it in the dropdown or similar widget this would be great. I want to pull the email from the matching name as selected from the drop down so that once submitted the user can get a copy of the forms sent to them for records, so I can add it to the dynamic CC field.
Both fields are in the same DB, 'email' is the second field for the dropdown or text box. 'name' is the first field that I use in the 'Fields to Retrieve' for the Read DB function for the dropdown.
Thanks in advance for the help.
I am using CFv6 and doing this in builder mode.
I have a dropdown that is pulling fields from a DB using the following in the options {var:read_data4}, and from a Load Data. This works great, records to a new DB and all. No dramas.
If I want to copy a second field to a text field based on the selection from the drop down what would be my best options. If it can be explained so I can build it in the dropdown or similar widget this would be great. I want to pull the email from the matching name as selected from the drop down so that once submitted the user can get a copy of the forms sent to them for records, so I can add it to the dynamic CC field.
Both fields are in the same DB, 'email' is the second field for the dropdown or text box. 'name' is the first field that I use in the 'Fields to Retrieve' for the Read DB function for the dropdown.
Thanks in advance for the help.