In theory yes, but it will be a very bad thing to do. For that you will need to have the secret used to generate the nonce at site A in site B which means tht if site B is compromised site A might be as well (there is also some time synchronization that needs to be done between the site, but that the lesser worry).
There are two ways to properly go about it
-
don’t use nonce at all. nonce are there to protect registered users and if the submitter of the form is unlikely to be registered or the form do not do anything destructive on the server, then no point in using them
-
Site A should embed the form as an Iframe from site B. That way the nonce was generated by site B and it can verify it without knowing the secrets of site A
Related Posts:
- Is wp_nonce_field vulnerable if you know the action name?
- Nonce actions and names available via open source
- Help with forms and nonces
- Can you have more than one nonce on a page?
- Should I use wp_nonce_field on my contact form?
- wp_nonce for Front-End submission form not working
- Is there a solution to expired nonces in forms when using full page caching that doesn’t involve configuring the cache?
- What is & used for
- How to define form action in JSF?
- Free or affordable OCR and ICR (handwriting recognition) SDK?
- What characters are allowed in an email address?
- How to include landing page with form submission?
- How to edit a user profile on the front end?
- How to display user registration form on front-end of the website?
- How to handle form submission?
- What is an easy way to display a front-end user registration form?
- Add error message on password protected page
- Nonces and Cache
- how to set from address according to the form input email address for wp_mail()?
- How to get current url in contact form 7
- How to pass on Google Adwords gclid variable to other pages
- using update_user_meta in form to set and get custom meta
- Best way to create multi-step form with data saved to user account for later updating?
- User registration problem in WordPress
- Creating a contact form without a plugin [closed]
- How to submit data from HTML form?
- Custom Registration Template/Page
- show image in mail contact form 7 [closed]
- Submitting post to database then redirecting to paypal
- Registration form labels – add asterisk
- Autocomplete for taxonomy input boxes on a front end form
- Sending form data via PHPMailer – How to action PHP script from a form
- How to create and retrieve data from a special registration form?
- Contact form 7 Dynamic text – placeholder on GET field
- Settings API erases itself?
- how to handle forms in multiple pages?
- set_query_var doesn’t seem to work on init hook
- How to send multipart form data to WordPress endpoint
- need to add attach thumbnail from my form
- Wp_mail Returning False on Server
- recommended practice for form submission
- Placeholders in Jetpack Contact Form [closed]
- How to update selective options on plugin settings page
- Built-in data validation function for URLs
- $_POST empty on submit (same code, same form submits normally on local server)
- Gravity Forms skip form if already filled out using cookie?
- Loading scripts & styles from a meta box callback function
- Checkbox won’t check when label is clicked
- One comment per user per post
- Looking for a simple approach for handling user $_POST data without AJAX?
- When is it useful to use wp_verify_nonce
- Trying to save and display a wp_editor()
- How to return variables from admin-post.php
- Help with verifying google recaptcha in a custom form
- Setting specific image size for specific form upload file field
- Duplicating/Cloning Multiple Form Fields
- Contact forms going into spam folder
- Get data from dropdown and update page
- Mail Form in a modal box without plugin
- Using the WordPress selected() function
- Performing a POST action on homepage goes to posts page
- Add contact form
- How am I able to get the value out of cookie array when I push a button?
- 404 on form submit [duplicate]
- How to Process Form Request
- Form Processing
- Reset recaptcha contact form 7 [closed]
- Return to option page after running PHP script
- Saving checkbox/option list status?
- Customize reset password form redirect problem
- What is the valid phone number format accepted by contact-form-7 [closed]
- creating form for wp_remote_post
- How to implement post/redirect/get pattern on contact form
- How to know what submit button the user clicked?
- limit characters when posting from form
- Creating a custom multilingual form
- wordpress not displaying my form
- Adding data to an array in usermeta and displaying it in a loop
- Stripe Error: must provide source or customer [closed]
- How to submit form in a PHP file in WordPress?
- CRUD front end for mySQL in WordPress
- How to prevent page from resubmit on refresh when “Cannot modify header information – headers” warning shows
- not logged in users can’t submit form
- How to edit custom user meta information front end
- wp_create_nonce function doesn’t work inside a plugin?
- How to redirect new WordPress user to previous page after registering
- Google Map Latitude and Longitude values in form
- How to properly add a custom submenu to the user’s admin menu
- How to use TinyMCE in the quick edit form?
- post request does not redirect but why
- How can I find actual logic php file in form’s action path?
- How do I use the info submitted in a form to create a form reception page? (like “thank you {firstName}”) [closed]
- WordPress form to shortcode
- Create Contact7 Form programmatically [closed]
- WPForm, how to set date to tomorrow
- recaptcha working on local but not on live wordpress sites [closed]
- php form create 2 posts
- 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?
- How to retrieve form data?