Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Add my own validation to Complete button

_James_J_Gallag
Level 3
Level 3
Hi,



I was wondering if it is possible to add my own validation code behind the "Complete" button that is present when a form guide is displayed from workspace?



Thanks in advance,

James
1 Reply
_James_J_Gallag
Level 3
Level 3
Figured this puppy out at last...



I added two buttons on my form. One is set as a submit button (Submit) and one is a regular button (Validate). Behind the click event on the Validate button I do all my validation checks etc.. and if every thing I need to be filled in is correct I call the following Submit.execEvent("click");



In the form guide properties I set the following properties:



Submit Form: Guide

Submit Button: Validate



Thats it, hopefully someone finds this useful!!