Expand my Community achievements bar.

SOLVED

How to hide form sections based on calculated field?

Avatar

Level 4

I'm building a custom form for work requests. One of my fields is "Requested Delivery Date" and I want to put a hard stop if the requested delivery date is less than 4 days from the current date. 


I've added a "lead time" calculated field to the form that is working, but I cannot natively assign display logic to all the other sections of the form based on the calculated field.

 

Does anybody know a workaround that will allow me to hide all sections until the requested delivery date exceeds 4 days from the current date?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Form logic can only be applied based on radio buttons, dropdown, or check boxes. Because of this, you can't use the logic on calculated fields.

 

The only thing I can really think is that you could use Fusion to achieve something. Off the top of my head -  You could create an automation that would validate the calculated field and then update a radio button to allow the rest of the form to populate. But that could only really happen after the form is saved. The user would have to be able to save the form and then also have to access it twice.




View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Form logic can only be applied based on radio buttons, dropdown, or check boxes. Because of this, you can't use the logic on calculated fields.

 

The only thing I can really think is that you could use Fusion to achieve something. Off the top of my head -  You could create an automation that would validate the calculated field and then update a radio button to allow the rest of the form to populate. But that could only really happen after the form is saved. The user would have to be able to save the form and then also have to access it twice.