cancel
Showing results for 
Search instead for 
Did you mean: 

How to set table field as mandatory

Former Member
0 Kudos

Hi all,

I have a table field which i have to receive value and then submit. I would like to set the table field as mandatory without this field filled it should not submit.

How to set this.

Thanks&regards

karthi.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

set the <b>state</b> property of the control to required.

Regards

Ayyapparaj

Former Member
0 Kudos

i have already set the state property to required.But not working

null

Former Member
0 Kudos

Hi,

Are you able to see the * mark.

then in the wdDoBeforeAction hook method check the attribute is not null and if the attribute is null cancel the navigation.

wdComponentAPI.getMessageManager().cancelNavigation()

Regards

Ayyapparaj

Former Member
0 Kudos

HI,

No * mark.

Regards,

karthi