cancel
Showing results for 
Search instead for 
Did you mean: 

Form Field validation

porwal_monu
Champ in-the-making
Champ in-the-making
Hi,

How to write validation of form field using script task?


Thanks
2 REPLIES 2

vasile_dirla
Star Contributor
Star Contributor
Hi,
could you please explain a bit what do you want to do ?
These "form fields" are form properties http://www.activiti.org/userguide/#formProperties
, or you have your own forms management and then you are the only one who knows the field definition ?

porwal_monu
Champ in-the-making
Champ in-the-making
i have a form which contains two fields name and contact number, now if i want to write validation for name that it will contain only alphabetical and for contact number i want that it will contain only 10 digits ..tell me how to write validation in script task for the same..i tried javascript code for the same but it is not working.