Submitting Gravity form with REST API and Honeypot enabled

This shouldn’t have been closed, the OP is correct that his question was misunderstood.

The problem is that the REST API response for a form doesn’t give us the needed field information for the honeypot field, it just returns "enableHoneypot": true,.

So we can’t know what the input name is to add as a hidden field to our forms.

The honeypot input ID is only determined on form display, so there isn’t a way to include it in the get form response. You’ll need to view the form via the preview page and find the ID using the element inspector. Note, that it can change whenever new fields are added to the form, or if form object filters are in use on render.

Right, so it’s not useful for building a headless form frontend. We would need the field information the same way as any other field placed on a form so that as the input changes, our frontend automatically updates.

So I guess this is a feature request, otherwise it’s useless as an option when using REST API.

Thanks for the response!

Sorry to spam, I don’t know GF internals, but this doesn’t feel like a huge piece of work, what do you think Richard?

Or are things set up in such a way that adding the input to the fields array is really tricky?