How can I check that a Toggle field is ready in spRendered? When the form loads, it is not respecting the settings for other fields (hidden or not based on the value of the Toggle field). I have an on change statement that works perfectly (hides and displays the correct fields) when I toggle the field on and off. It is just the initial value that is not being respected.
It might be due the code - never use in EditForm, but you might be talking about NewForm.
fd.clear()
Or it's due to caching in NewForm
In NewForm I suggest, that you need to toggle some button to show data fields. So the default value maybe should be "Off" and data fields invisible during initilization.
As @Margo mentioned. Provide us with more information.
Regards
Stepan