Depends on Custom Field with Required selected

I have a field that that only shows when the source of a lead is a select condition. It hides and shows properly, but if the field is hidden than the required still gets checked. Is there a custom way to have the field hidden when the eval is false, but when it true have the field shown and required?

Not automatically, you will have to set this up as a custom script.

Hello, @rmehta can you please share an example?

Thanks