How to run Client-Side code BEFORE page renders?

G24
Kilo Sage

Currently I have Client Scripts which change some form field Labels.

 

What happens is the user sees the original labels for about 1 second, and only then do the labels get switched to their final, correct values.  This looks CLUNKY and unprofessional.

 

I tried setting my client script to order = 1.  That didn't work.  I tried a UI Policy (with script).  That also didn't work.

 

Question 1)  Is there any way to force the execution of client-side code before HTML is actually displayed to the user?

 

Question 2)  Is there any way to prevent the user from interacting with the form before it is fully rendered?

 

Thanks.

0 REPLIES 0