Skip to main content
Cookbook Marketing Everest Forms

Add a Question to a Form with Everest Forms and AI

One new question on an existing Everest Forms form, previewed first and added on your yes.

Difficulty Beginner
Time ~5 min

Prerequisites

A site connected to WPVibe running Everest Forms 3.6.6 or newer (tested on 3.6.6, free) on WordPress 6.9 or newer, with an administrator account.

The prompt
My WordPress site uses Everest Forms. Add a question to my [form's name] form: [the question and its type, for example a dropdown asking how they heard about us, with the choices Friend, Search and Social media]. [Optional: make it required.]

1. Run discover_abilities with category everest-forms. If the abilities this needs are not there, stop and tell me to install or update the free Everest Forms plugin (3.6.6 or newer, on WordPress 6.9 or newer).
2. Run everest-forms/list-forms with status any and limit 200, and find the form by its title. If more than one form matches, show each with its ID and status and ask me which, and stop until I answer. If the form's status is trash, tell me and stop. A form that is switched off (inactive) is not in that list: if the form isn't there, ask me for its ID, the number in the form's Shortcode column in Everest Forms, All Forms, and stop until I answer.
3. Run everest-forms/get-form with its ID. Show me its fields in order with their labels and types. If a field already asks the same thing, tell me which one and stop.
4. Pick the field type. Use the free field types: first-name, last-name, text, textarea, email, number, url, date-time, select, radio and checkbox (select, radio and checkbox need choices). Give each select field the placeholder "Choose one", so nothing is picked for the visitor. For any other type, run everest-forms/describe-field-type first: if usable_now is false, leave that field out and tell me which addon it needs. Don't install or activate anything.
5. Run everest-forms/update-form with the form_id, dry_run true and fields set to the one new field (type, label, placeholder "Choose one" for a select, required only if I asked, and choices if it has them). Show me the form's fields with the new one as you will save it (the preview confirms types and labels). Tell me the new field goes at the end of the form, above the button, and that if the form is switched on the change is live as soon as it is saved. Ask me to confirm, and stop until I answer.
6. On my yes, run everest-forms/update-form with the same input without dry_run. If this call fails or times out, run everest-forms/get-form first to see whether the field was added before trying again. Find the new field's ID: the one in the result that wasn't there before. If it is a select, radio or checkbox field, run everest-forms/update-form again straight away with form_fields_patch for that ID only, as until then a switched-on form shows its choices ticked; if that call fails, try it again before anything else and tell me. For each select, radio or checkbox field, form_fields_patch sets that field's choices, keyed by its field ID, to an object numbered from "1", each choice with only label and value (value ""), for example {"FIELD_ID": {"choices": {"1": {"label": "Morning", "value": ""}, "2": {"label": "Afternoon", "value": ""}}}}, with no default key. The abilities save every choice as a default, so without this the form shows every box ticked and the last option picked, and visitors send answers they never chose.
7. Run everest-forms/get-form again and check the new field's label, type, required setting, choices and, for a select, its placeholder, and that the other fields are as they were. Tell me what you added. Say that entries already sent have no answer for it, and that the abilities only add and change fields: to move it higher or remove a field, use the form builder (Everest Forms, All Forms, Edit).
Already connected?

Skip pasting the full prompt. Drop this into your AI on a site that already has WPVibe:

Run the “Add a Question to a Form with Everest Forms and AI” recipe from the WPVibe cookbook on my connected site.

Your form is missing a question: how people heard about you, which date suits them, whether they need parking. Adding it means opening the form builder, finding the right field, typing the choices and hoping nothing else moved, so the form stays as it is and you keep asking by email.

The AI reads the form, checks it doesn’t already ask the same thing, previews the new field without saving, and adds it only when you say yes. It fixes the choices so none start ticked and reads the form back to check.

Name the form and say what to ask. If the form is switched on, the new question is live as soon as it is saved, so ask for a change you are ready to show. The question goes at the end of the form, above the button; move it in the form builder if you want it higher. Entries already sent won’t have an answer for it.

Outcome

Your form with one new question at the end, its choices unticked, checked field by field.