Help with Performance Review form
hello. i've research many hours , managed piece working script performance review form. i'm using live cycle 11 , java script. if there answer post please direct me url. understand scripting don't use enough proficient. here go....
1) form consists of 12 categories - , each category has: label, drop down, text , text field
2) drop downs identical rating choices numbered 0-5. set 0= "(choose one)"
3) if user selects rating 2,3,or 4, text field optional
3) when user selects 1 (unacceptable) or 5 (excellent), corresponding text field set mandatory message prompting explanation (i used action builder message). in script below "relation" category - drop downs have same script syntax referencing category
form1.associatereviewpage2.relationrating::exit - (javascript, client)
if (this.rawvalue == "1")
{relationdescription.mandatory = "error";}
else if (this.rawvalue == "5")
{relationdescription.mandatory = "error";}
else
{relationdescription.mandatory = "disabled";}
4) far, - except not mandatory message pop in script , don't error prompt required field empty when exit or save form
for next challenge:
1) have calculated-read field need average values of 12 drop down categories assign overall rating match values 1-5. haven't been able figure 1 out.
well, figured out second question, straight forward. had use full path when referencing objects. i.e. page1.field, page2.field etc. using calculated average, display message describing value range.
still trying figure out why "error" value doesn't force text field mandatory or required. "error" value highlights field required.
More discussions in LiveCycle Forms
adobe
Comments
Post a Comment