on 10-13-2008 6:57 AM
Hi all,
How to make validations in the default form.
Regards
Mohana
Plz explain what is a default form...??
Vasu Natari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, if thats the case i guess u can see the form type once its loaded on the screen then u can use the form type and get the items and validate as per ur requirement.
I perform all my validations on the Button Click (Item pressed event of the Default button UID 1), before adding the records i perform my checks.
Vasu Natari.
Hello Mohana,
You have to do it with a UI add-on, the same with other form. Each Default Form has its own unique form type. Thus you can hanldle the et_Validate event for the target field. The same as other addon to validate the field.
'et_Validate hanlder for the
if pVal.ColUID = ** Then
if oMatrix.Columns.Item(pVal.ColUID).Cells.Item(pVal.Row).Specific.String = "" Then
oApp.MessageBox("Enter value for ***")
BubbleEvent = False
End If
End If
Kind Regards
-Yatsea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.