Title: Form with customized submit button
Last modified: March 11, 2023

---

# Form with customized submit button

 *  [crazypatx](https://wordpress.org/support/users/crazypatx/)
 * (@crazypatx)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/form-with-customized-submit-button/)
 * I like to create an input form for user to maintain multiple information (e.g.
   single line text, drop down, text area etc.) 
   once the user pushed the submit
   button, a javascript function should be called which is processing the maintained
   information and calls an external API.
 * is there any way to use a standard form block to achieve this (plugins are also
   ok)? so far all forms I was using enforce sending information by email.
   do I 
   need to fully develop the form myself?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/form-with-customized-submit-button/#post-16550063)
 * WordPress itself does not provide any forms in the frontend apart from comment
   forms. You need a plugin for the form functionality in any case. Almost every
   form plugin allows to change the processing of submitted forms via hook. So you
   can also address an external API after the successful submission. As I said, 
   this works with pretty much every form plugin, so pick one: [https://wordpress.org/plugins/tags/forms/](https://wordpress.org/plugins/tags/forms/)
 *  Thread Starter [crazypatx](https://wordpress.org/support/users/crazypatx/)
 * (@crazypatx)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/form-with-customized-submit-button/#post-16550131)
 * Thanks [@threadi](https://wordpress.org/support/users/threadi/) !
   can you give
   me some further advice on what you mean by “via hook”? I tried using WPforms 
   and a form block from Astra. Both force entering an email to receive responses
   and I did not see a functionality to change the submit button logic.
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/form-with-customized-submit-button/#post-16550181)
 * Hooks are provided by WordPress and many plugins so that other developers can
   put their own implementation in these places. An introduction to this can be 
   found in the developer manual:
   [https://developer.wordpress.org/plugins/hooks/](https://developer.wordpress.org/plugins/hooks/)
 * WPForms provides many hooks which are mentioned in their documentation: [https://wpforms.com/developers/](https://wpforms.com/developers/)
 * With this hook you can e.g. add your own implementation after successful submission
   of a form: [https://wpforms.com/developers/wpforms_process_complete/](https://wpforms.com/developers/wpforms_process_complete/)
 * I assumed from your question regarding an external API that you are a developer
   and would program such an addition yourself. If this is not the case and you 
   need support, you can certainly find someone here who can help you: [https://jobs.wordpress.net/](https://jobs.wordpress.net/)
 *  [karolinapan](https://wordpress.org/support/users/karolinapan/)
 * (@karolinapan)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/form-with-customized-submit-button/#post-16550184)
 * Hi,
 * If you’re using WPForms, you can refer to this for more info:
 * [https://wpforms.com/docs/how-to-install-and-use-the-webhooks-addon-with-wpforms/](https://wpforms.com/docs/how-to-install-and-use-the-webhooks-addon-with-wpforms/)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Form with customized submit button’ is closed to new replies.

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [form](https://wordpress.org/support/topic-tag/form/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 4 replies
 * 3 participants
 * Last reply from: [karolinapan](https://wordpress.org/support/users/karolinapan/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/form-with-customized-submit-button/#post-16550184)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
