Hello,
I am working on a SharePoint Custom List and as such am limited with certain formatting options.
I am trying to recreate a 'table'-like design for part of my form for 6 SP columns and could not find a way to do this using form columns from SharePoint. As a workaround I did the following:
1. I created a Custom Data Card and added 6 text fields in a table-like format with 3 rows and 2 columns. The Data Card is visible based on a DropDown elsewhere in the form. As there are multiple fields in this card I have left the 'Required' property as 'false'
2. I then added the 6 SP 'columns' to my form and set their default values equal to the text of one of each of the custom text fields mentioned above (only if the text field was filled, to prevent zeroes being pulled through). I then set the properties of these to 'required' if the Custom Data Card mentioned above is visible.
If (CustomDataCard.Visible=true,true,false)
This validated the form as expected, preventing submission if the Custom Text Fields were not completed and allowing submission if they were.
However I then set visible properties of the SP columns (mentioned in part 2.) to 'false' and the validation stopped working, allowing submission whether the custom fields were filled or not.
Any help appreciated, including correction if my approach to the table format is wrong.
Let me know if more information required