take a look at this xdp
The script is at the form1 event
form1::docReady - (JavaScript, client)//+ GENERATED - DO NOT EDIT (ID:050B56E3-17A2-4D55-8A10-6B58FAB8E0F9 CRC:2450640584)//+ Type: Action//+ Result1: SetPresence("$Node2","hidden")//+ Node2: form1[0].#pageSet[0].Page1[0].HTTPSubmitButton1[0]/...