From 89170cf8b2d6479d9854890b4beddd30969bd1df Mon Sep 17 00:00:00 2001 From: Khurram Mahmood Date: Fri, 12 Jan 2024 08:29:47 -0800 Subject: [PATCH] Update form.md --- widget-reference/form.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget-reference/form.md b/widget-reference/form.md index 5f3ad2b..8648443 100644 --- a/widget-reference/form.md +++ b/widget-reference/form.md @@ -50,7 +50,7 @@ API: email: ${email} ``` #### Validate or Submit a Form from outside the Form -Detailed Example [here](https://studio.ensembleui.com/app/e24402cb-75e2-404c-866c-29e6c3dd7992/screen/FQ0pHhc9SaXr3XSCu9kK) This examples shows how to validate/submit a form from a sticky button in the footer. This is a common pattern in mobile apps. +Detailed Example [here](https://studio.ensembleui.com/app/e24402cb-75e2-404c-866c-29e6c3dd7992/screen/fIZkgKM25hNHtI0q5wZF) This examples shows how to validate/submit a form from a sticky button in the footer. This is a common pattern in mobile apps. By default, when `Form.submit()` is called, it first called `Form.validate()` and calls submit only if the validation succeeds (i.e. all form fields are in valid state.