Plugin: JetFormBuilder
Feature request: Different success message per form Render State
Current behavior
The "Success" message in Form Settings → Messages is global and applies to all form states. When using Render States (e.g. a login form with a password reset flow), the same success message is displayed regardless of which state was submitted.
Expected behavior
The ability to define a distinct success message per Render State, so each state can display a contextually relevant message after submission.
Use case
I have a single login form with 3 states:
DEFAULT.STATE — login form (email + password) → should display: "Logging in..."
DEFAULT.STATE2 — password reset request (sends reset link by email) → should display: "A reset link has been sent to your email address."
RESET.PASSWORD — new password form (triggered from the email link) → should display: "Your password has been updated successfully."
Right now there is no native way to achieve this. The workaround using jet-form-builder/message-types + a Call Hook action + $_POST inspection is fragile and unreliable because the state key in the POST payload is not consistently accessible at the time the action runs.
Suggested implementation
Add a "Success message" field directly inside each Render State configuration, overriding the global success message when set. Alternatively, expose a reliable PHP filter or JS hook that provides the current active Render State at response time.
Why it matters
Showing the same generic success message for a login and a password reset creates confusion for users. Contextual feedback is a basic UX requirement for multi-state forms.
Plugin: JetFormBuilder
Feature request: Different success message per form Render State
Current behavior
The "Success" message in Form Settings → Messages is global and applies to all form states. When using Render States (e.g. a login form with a password reset flow), the same success message is displayed regardless of which state was submitted.
Expected behavior
The ability to define a distinct success message per Render State, so each state can display a contextually relevant message after submission.
Use case
I have a single login form with 3 states:
DEFAULT.STATE— login form (email + password) → should display: "Logging in..."DEFAULT.STATE2— password reset request (sends reset link by email) → should display: "A reset link has been sent to your email address."RESET.PASSWORD— new password form (triggered from the email link) → should display: "Your password has been updated successfully."Right now there is no native way to achieve this. The workaround using
jet-form-builder/message-types+ a Call Hook action +$_POSTinspection is fragile and unreliable because the state key in the POST payload is not consistently accessible at the time the action runs.Suggested implementation
Add a "Success message" field directly inside each Render State configuration, overriding the global success message when set. Alternatively, expose a reliable PHP filter or JS hook that provides the current active Render State at response time.
Why it matters
Showing the same generic success message for a login and a password reset creates confusion for users. Contextual feedback is a basic UX requirement for multi-state forms.