What is the best way to concat 2 different fields?
Forums
Concat 2 fields
Hi nbradshaw45,
Probably using custom PHP after the for submits. You could also use JavaScript in the form to write the concatenated value to a new input when either of the source fields changes - that makes the result visible to the user if needed.
Bob
Probably using custom PHP after the for submits. You could also use JavaScript in the form to write the concatenated value to a new input when either of the source fields changes - that makes the result visible to the user if needed.
Bob
Thanks Bob -
Can you point me where to go for the custom PHP after the form submits? How do I get there? I see where I do php - but I can't find the setting for after form submits.
Can you point me where to go for the custom PHP after the form submits? How do I get there? I see where I do php - but I can't find the setting for after form submits.
Hi nbradshaw45,
The form needs to be in 'Advanced' mode (not just a basic contact form). Then you can switch to the Actions Editor click Advanced in the bar and drag a PHP action into the form page.
Bob
The form needs to be in 'Advanced' mode (not just a basic contact form). Then you can switch to the Actions Editor click Advanced in the bar and drag a PHP action into the form page.
Bob
Hi Bob -
So I know how to use the PHP action under the advanced menu - and I know how to drag it down...but what I don't know or see - is the "On-Submit" action. There is not an On-Submit option in the PHP action that I can see. Can you please check this and let me know how to only invoke the PHP action On-Submit?
So I know how to use the PHP action under the advanced menu - and I know how to drag it down...but what I don't know or see - is the "On-Submit" action. There is not an On-Submit option in the PHP action that I can see. Can you please check this and let me know how to only invoke the PHP action On-Submit?
You need to login to be able to post a reply.