Concat 2 fields

nb nbradshaw45 23 Sep, 2021
What is the best way to concat 2 different fields?
Gr GreyHead 24 Sep, 2021
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
nb nbradshaw45 26 Sep, 2021
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.
Gr GreyHead 27 Sep, 2021
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
nb nbradshaw45 30 Sep, 2021
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?
This topic is locked and no more replies can be posted.