Skip to main content

I have a screen which I am hiding a Longtext field via client script in the refresh script with the following:

    setControlRequired("c_collected_sample", "reason", false); 
    setControlVisibility("c_collected_sample", "reason", false); 

Then I have a list field which has a value changed script attached to it which makes the field required and visible when a certain value is selected via:
        setControlVisibility("c_collected_sample", "reason", true);
        setControlRequired("c_collected_sample", "reason", true);

However, what is happeneing is that the field is being shown but has the word Required in bold (rather than grey) and it cannot be overwritten - any text added is appended.

What is also strange is that if I turn the iPhone to landscape and then back to portrait the field goes grey as expected. I have other screens where the above works as expected so can’t see why this is happeneing.

The device is an iPhone (iOS 15) and FSM 6 update 17

Hi @Steve Hurst ,

Sounds like it will need to be logged as a bug for R&D to investigate. Have you tried this on the latest release as well?

Kind regards,

Lee Pinchbeck


Reply