Participating Frequently
March 29, 2022
Answered
Adobe stamp with Javascript form, hide field
- March 29, 2022
- 1 reply
- 2598 views
Hi,
I have 2 questions.
First, how can I hide a field in my stamp depending of the user choice in the form?
I have try this :
commit: function(dialog)
{
//First choice
if(results["rNa1"])
{
this.getField("P2-chkEnonce3").display = display.hidden;
}
}and that :
if(event.source.forReal && (event.source.stampName == "#PGrZrfrVBCosilVE8PCtgC"))
{
if("ok" == dialogConformiteFR.DoDialog())
{
this.getField("P2-chkEnonce3").display = display.hidden;
}
}but my checkbox never get hidden in my stamp.
My second question is where in the script can I manage what's being check in the form ?
Only one checkbox need to be check at a time.
Thank you !
