Thank you alcdtrainer... so much!This code Works from you:if(N1.rawValue == "M") N1.border.fill.color.value = "255,0,0";SO, I was able to figure out what i needed ....if(N1.rawValue == "M") N1.font.fill.color.value = "255,0,0";
I have been looking for a way to change the Fields's Text Color Based on Valueif Textbox = A then A will be blueif Textbox = B then B will be red I just need help getting the if then code working, changing the color after that is easyAny Suggestions ..
So, A solution I found, but not sure it is the best came from this thread: Re: how to calculate future datevar Emancipation = new Date(DOB.formattedValue);var Adult = new Date(new Date(Emancipation).setMonth(Emancipation.getMonth()+216));util.printd("mm/dd/yyyy", Adult);I am using setMonth to +216 ...
I normally use the old Text Field Trick in LiveCycle.Create a new Text Field, Set your Text Justification Options and then change the Field to Image Field.It will retain the Text Field Settings from before.. Used that "trick" many times.
Need a little FormCalc OR JavaScript Help from the Community.Have a form that has three fields ... Date Of Birth, Age, and Emancipation Date.User Selects DOB, then I calculate Age: (Works Fine)if(DOB.rawValue ne null) then Floor(((Date2Num(DOB.formattedValue, "MM/DD/YYYY") - Date() )/365.25)*-1...
That is exacly what I thought of on the drive home this morning.I put this in form ready:if ((ImageField.rawValue == null)) then Page5.presence = "hidden";else Page5.presence = "visible";endifWould Doc Ready be better then Form ready? ( Not really sure the difference to be ready?
I have a form with the last page set to hidden.I have a button on the last visible page ( Page 4) set to Page5.presence = "visible";This shows the 5th page. Works Great until this point.When I click the button on page 5 topmostSubform.Page5.instanceManager.addInstance(1); another page is not ad...
The fix was to modify the code from:master[i-1][j] = xmlData.nodes.item(i).nodes.item(j).value; the new lines ismaster[i-1][j] = (xmlData.nodes.item(i).nodes.item(j).value == null) ? "" : xmlData.nodes.item(i).nodes.item(j).value;This allows for null (empty) fields, allowing the sort to work correc...
In the Edit Field Put - date{M/D/YY}|date{MM/DD/YYYY}|date{M-D-YY}|date{MM-DD-YYYY}In your display field Put - date{DD-MMM-YYYY} or date{DD-MMM-YY} which ever you perfer.Leave the Validation Blank.With that in the Edit Field, it will correct if the user puts 04-01-1990 or 04...