Please check the below URLs for conditional visibility understanding,
Thanks & Regards,
you can use the visibility section to set the visibility to display the attribute as shown below
you can use ‘based on expression’ or ‘based on attribute value’ accordingly
Where are a few ways to implement conditional visibility. In this case you could go to the properties of the NextField attribute and visibility section. There you could try to write the expression. More information about conditional visibility can be found in the documentation. Hope this helps you out.