How to validate email from another wordpress site

Good day,

I have a subscription form (gravityform) for an event. The pricing is dependant if the participant is a member of the association or not. The membership is done thru another wordpress website. Is there a way to create a live link between the membership status from a wordpress website to my gravity form. The field value to recognize the member status is an email (member Id) and the status (active). Thanks

Not able to provide exact code for this, but can point you in a good direction.

You can make use of the filter gform_field_validation. The example 11. Email validation by third-party API could be used as a starting point along with the WP REST API to query users on the other site and handle the form submission depending on the status of any account.

1 Like

leonardo-dicaprio-clapping