cancel
Showing results for 
Search instead for 
Did you mean: 

Re:Default Form

Former Member
0 Kudos

Hi all,

How to make validations in the default form.

Regards

Mohana

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Plz explain what is a default form...??

Vasu Natari.

Former Member
0 Kudos

Hi Vasu,

While registering a table in UDO it will ask for default form.iam talking about that default form.

Regards

Mohana

Former Member
0 Kudos

Hi..

If u select Default form(check Box) it will create automatically form.

u can see Tools->User-Defined Objects->Default forms.if u want u can

select other wise no need.

Regards...

Billa 2007

Former Member
0 Kudos

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.

Answers (1)

Answers (1)

YatseaLi
Product and Topic Expert
Product and Topic Expert
0 Kudos

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