Custom form, PHP snippet

Hi, I need a custom form on my website. I read that PHP code from Cornerstone can only safely be run with shortcodes…fine. How does the syntax look like if I want a function be called from the form, i.e.

<form action=[some_shortcode]>
    <input type="text" required>
    <input type="radio">
    <input type="submit" value="Send">
</form>

is probably not going to work. How can I do this? The plugins I had a look at don’t cover my needs.
Thx

Hello Peter,

Thanks for asking. :slight_smile:

You can take a look at following resources to add custom PHP forms on WordPress website.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.