When posting a form, if you use ‘name’ as an input name then there seems to be a problem with submitting.
Try changing:
<input type="text" name="name" class="form-contact__text" />
to:
<input type="text" name="the_name" class="form-contact__text" />
Also, best to give your submit button a more unique name in case it conflicts with any plugins/themes – then check for the submission of that in your process_contact_form()
function.
Related Posts:
- How to include landing page with form submission?
- How to handle form submission?
- Add error message on password protected page
- how to set from address according to the form input email address for wp_mail()?
- Is wp_nonce_field vulnerable if you know the action name?
- using update_user_meta in form to set and get custom meta
- User registration problem in WordPress
- show image in mail contact form 7 [closed]
- Submitting post to database then redirecting to paypal
- Registration form labels – add asterisk
- How to create and retrieve data from a special registration form?
- Contact form 7 Dynamic text – placeholder on GET field
- Settings API erases itself?
- set_query_var doesn’t seem to work on init hook
- Wp_mail Returning False on Server
- Placeholders in Jetpack Contact Form [closed]
- How to update selective options on plugin settings page
- Loading scripts & styles from a meta box callback function
- Help with verifying google recaptcha in a custom form
- Duplicating/Cloning Multiple Form Fields
- Mail Form in a modal box without plugin
- How am I able to get the value out of cookie array when I push a button?
- How to Process Form Request
- How to implement post/redirect/get pattern on contact form
- limit characters when posting from form
- Adding data to an array in usermeta and displaying it in a loop
- Help with forms and nonces
- Create form on plugin options page that creates submenu pages for that plugin
- How can I create registration form for users which I can assign role and profile picture?
- Contact Form 7 – Add a Info Text to Checkboxes/Radiobuttons [closed]
- Show the submitted values in the form when validation fails
- Post submit using shortcode and init
- Password protected page with a form submits for me fine but for others redirects them back to the password prompt
- What form element names break wordpress?
- I am trying to grab the title and put it in a paypal form select option
- How to add required fields in user profile admin page?
- Java code/ JSP page in wordpress
- Should I use wp_nonce_field on my contact form?
- Form Submission Warning: Cannot modify header error only when plugin is deactivated
- Comparing formidable pro and gravity forms [closed]
- Programmatically populate form fields with data
- advanced custom fields and contact form 7
- Stop SPAM from custom form
- Complex Timesheet Form
- Custom tables and using wpdb to insert into DB from a html form
- Send value of PHP variable in template via hidden field in a form
- Fatal error: Call to undefined function wp_insert_post()
- Custom form handling in WP.. the correct way?
- WordPress Frontend Post Form (Bootstrap Modal) Not Creating Post
- How to use HubSpot Forms API in WordPress pages?
- Inquiry form like on URL [closed]
- Front end update_post_meta Help
- retrieve all emails as database in wordpress to view all sent emails
- Update user meta on custom wordpress form and redirect
- Headers already sent on a frontend post form using wp_redirect before get_header
- How to stop direct HTTP POST to a PHP script?
- Can I have two submit buttons in one form? [closed]
- Embed IPB forums to wordpress page
- Unable to upload data to Media Libary
- how do i make the “contact us” on a page created not to display
- Where this validating message come from?
- How to add custom regex validation to WPForms password field
- Form Post / Session Variables not Working in Query with Pagination
- Submit Multi-Part Form After Each Part
- Populate a custom form with user data [closed]
- sending form with time interval
- How to redirect a Link to a new tab in contact form 7?
- Caldera Forms Manual formula
- Save and retrive data from a custom form to database
- Form element name – array type is not working
- Embedding Links to WPForms on a WP Page
- Scroll Form with page scrolling and add form on slider
- Reading POST over admin-ajax.php
- Back button not working after input / search submit
- I am trying to add checkbox for anonymous post on form post
- Auto Submit Contact Form 7
- Custom transactional emails on user signup with wp_add_user
- WordPress, Front-end send message to authors using plugin when their post is published
- How to call or add password input / generate password / password strenght meter in custom registration form?
- Need to show results on the frontend of an admin form
- Generating unique PDF download link after user input
- Create a custom calculator in wordpress
- Plugin to get a result based on form checkbox
- Update a string from the front-end
- Update post meta without deleting the old entries
- How to creat form with get method and receive it
- Passing input value into name of input
- How to know if a tag has been added within a taxonomy?
- Custom form values without plugin [closed]
- wp_insert_post with POST data
- How to add contact form instead of checkout
- Auto populate a Form
- From contact form to paypal
- How do I register user without being authenticated
- How to add or double field?
- Custom form validation
- How to manage to submit WPForms at our webpage
- Adding default quicktags to textarea
- How can I get lost form data back? [closed]
- Forminator + Hubspot Workflows