Hi, does anyone know where else do you set form object attibutes, such as invisible and readonly.
I've got a form with two date entries, date A and date B.
When you enter the PCR and click on "to review form" both dates supposed to change to read only, form mode is DISPLAY.
My problem is although both date objects has exactly the same code in formcalc/java script, date B still allow the calander to display when you hover the mouse over the box. It also allow date entry. I have copied the standard PCR forms. Where else do I need to look to make date B read only. See snippet of code below.
Cheers.
if($record.CONTROL_PARAM.ISR_MODE == "DISPLAY" |
$record.CONTROL_PARAM.ISR_FORM_VIEW =="ISR_APPROVE" )
then
this.access = "readOnly"
else
this.access = ""
endif