Making FieldsMandatory Dynamically

P

Paresh

Hi All,

I am creating an InfoPath browser compatible form and I have a
repeating table with 2 string fields. I am creating the rows of this
repeating table dynamically using managed code.

I am looking for a way by which I can have repeating table fields
mandatory in one row (compulsory for a user to fill in data in these
fields) whereas in another row, they should not be mandatory.

Is this possible?


Thanks,
Paresh
 
S

S.Y.M. Wong-A-Ton

I think it is possible, although the criteria/logic for making one row
mandatory and another not, must be predefined. Have you already looked into
programmatically applying data validation to the group that the rows belong
to?
 
P

Paresh

I think it is possible, although the criteria/logic for making one row
mandatory and another not, must be predefined. Have you already looked into
programmatically applying data validation to the group that the rows belong
to?
---
S.Y.M. Wong-A-Ton









- Show quoted text -

Hi,

I do have the criteria as when to make the row mandatory or not, but I
didnt try to look into programmatically applying data validation to
the group. Please pass on any online references if you have any. :)


Thanks,
Paresh
 
S

S.Y.M. Wong-A-Ton

There aren't many online references for such specific scenarios. In any
case, I don't yet have one I could refer you to.
 
P

Paresh

There aren't many online references for such specific scenarios. In any
case, I don't yet have one I could refer you to.
---
S.Y.M. Wong-A-Ton






- Show quoted text -

Thanks SYM for the updates. I will try to dig more into this and will
update the group, in case I find something.

Regards,
Paresh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top