44
Views
5
Comments
Solved
Form1.vaild?

when we say Form1.vaild? in diagram, what is the meaning of this, as shown below


 

2024-04-18 08-00-54
Mayur Shrirame
Solution

Hi Mohammed Kurdi ,

This form1 is the name of the form, you can rename it. This form1.valid? checks two things

a) all the mandatory fields are filled

b) the data filled to the input fields are of correct datatype.


Hope this solves your query.

2024-02-27 12-57-22
Sam Rijkers

@Mayur Shrirame your answer is not completely accurate.

The 'Valid' property of a form evaluates as True if all fields in it are valid. If one of the fields in the form is invalid, the 'Valid' property of a form is False. 

This is very basic OutSystems knowledge, and if you are struggling with this I'd recommend to complete the free online trainings. For example, the form validations are discussed in the Web Developer guided path: https://learn.outsystems.com/training/journeys/web-developer-662/form-validations/o11/226


UserImage.jpg
Mohammed Kurdi

thanks for all

2024-05-30 10-12-48
Anushka singh
Solution

hello

When you call Form1.Valid?, it checks if all the validation rules associated with Form1 are satisfied. If they are, it returns true; otherwise, it returns false.

2024-04-18 08-00-54
Mayur Shrirame
Solution

Hi Mohammed Kurdi ,

This form1 is the name of the form, you can rename it. This form1.valid? checks two things

a) all the mandatory fields are filled

b) the data filled to the input fields are of correct datatype.


Hope this solves your query.

2024-02-27 12-57-22
Sam Rijkers

@Mayur Shrirame your answer is not completely accurate.

The 'Valid' property of a form evaluates as True if all fields in it are valid. If one of the fields in the form is invalid, the 'Valid' property of a form is False. 

This is very basic OutSystems knowledge, and if you are struggling with this I'd recommend to complete the free online trainings. For example, the form validations are discussed in the Web Developer guided path: https://learn.outsystems.com/training/journeys/web-developer-662/form-validations/o11/226


UserImage.jpg
Mohammed Kurdi

thanks for all

2024-05-30 10-12-48
Anushka singh
Solution

hello

When you call Form1.Valid?, it checks if all the validation rules associated with Form1 are satisfied. If they are, it returns true; otherwise, it returns false.

UserImage.jpg
Mohammed Kurdi

thanks for all

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.