SOLVED: Custom setting and execution of a form

I am having a seniors moment here, how do I customise the form? In terms I have written code for a form to be checked by js, once passed sent to another website via a PHP code. I have done this successfully using an embedded code, just wanted to see if I can do it directly from the form here in bricks?

Have I missed something? or do I have to return to my original set-up?

Thank you

1 Like

The custom action is a custom WordPress hook where you could attach some PHP logic after the form is submitted. It can be used to store some data in the database, or trigger some other action.

Get a starting example from here: Bricks: Form custom action · GitHub

4 Likes

Sorry for the delay, thank you very much for explaining that.

Hi,

How do I use the code?