I have created a registration form and only want the field FirstName to appear if the number of form registrants is equal to or less than 50.
I have entered this into the visibility condition for this field: SampleFormID.Value<="50".
However this doesn't appear to work as SampleFormID is always 0 until the form is submitted. How else can I use the visibility condition to retrieve the ID value of the last registrant or retrieve number of entries in the Recorded Data table for that form?
I have checked that SameplFormID field is ticked for 'has depending fields' and that field 'FirstName' is ticked for 'depends on another field'.
I think you can use something like this SiteObjects.Forms.YourSiteName_YourFormaName.Items.Count
Thanks this worked for me:
Please, sign in to be able to submit a new answer.