Post

3 followers Follow
0
Avatar

PHP Script for Field Value Validation

Hallo is it possible to implement Javascript or PHP behind a field for some validation tasks?

Alexander Weis

Please sign in to leave a comment.

3 comments

0
Avatar

@Andreas: Thanks for the hint. As far as I have seen I can use Javascript. Do you know if there are some limitations? Jqeury? Can I also use PHP.

I was thinking about "blocking" the submit button, if it is not correct.

Alexander Weis 0 votes
0
Avatar

The calculation field is basically a Javascript program which will be run when the dependencies of the field are changed. The value returned by the program will be stored as the value of the field. You can use this value to show whether the item is considered valid or not, but you won't be able to disable the submit button.

Andreas Garnæs 0 votes