Is is possible to make a repeating section a required field/column

  • 17 October 2014
  • 5 replies
  • 3 views

Badge +3


I have a repeating section I which is not connected to any SharePoint column

I want to make this to have data in it, make it a required column/field

how do I do that?

 

Thanks in advance


5 replies

Userlevel 5
Badge +12

Yes -

You can use the built in validation rules within the designer.  Click on the control that you want validation to occur on, and select "Add Rule" and for the type of rule, select Validation, and then in the formula section create the rule you need to fire. 

 

Thanks

Badge +9

Hi Michelle,

The Validation Rule can be applied to the Repeating Section control, but the value of the control cannot currently be used to determine Form Validation. However, I would apply the Validation Rule (as explained by Mike M above), to the controls within the Repeating Sections.

For example:

You have a Repeating Section with a Single Line Textbox control named 'rptSingle'.

The Rule can be applied to the Repeating Section with the following syntax:

rptSingle == ""

If the Single Line Textbox "rptSingle" does not contain a value, the Repeating Section will be marked invalid.

Thank you

Badge +3

Thanks that really helped me!

Badge +3

Thanks that helped me!

Badge +4

Can you clarify... the "...but the value of the control cannot currently be used to determine Form Validation."

I have a field that I need to determine it's value and show or hide it on the form depending on its value within a Repeating Section. 

Example Condition:

AcntAssignment !== 'A'

Result: Hide (repeating section form control)

Can this be done?

Reply