Hi,I think you should be able to use the following code in the change event of the dropdownlist.form1.#subform[0].Table1.Row2.DropDownList1::change - (JavaScript, client)if (xfa.event.change=="green") { this.fillColor = "000,128,000";} if (xfa.event.change=="yellow") { this.fillCo...
Hi,If your code is in the calculate event, use Stephen's code above, but add the following line before it.var rowCount = this.parent.instanceManager.count;This looks a little strange as we don't need to do anything with rowCount but just referencing it will cause the calculate event to fire whenever...
Hi,I think this is beyond what an action will provide. You will a have to write some JavaScript directly. When you call the addInstance method it returns the new row, so you can do something like;var row = Table1._Row1.addInstance();row.TextField1.border.fill.color.value = "255,0,0";row.TextField1....
Hi,I'm having trouble viewing your form in Designer, I'm guessing it is because you have ES4 and I only have ES3. But there does seem to be an unnamed subform under cuentaCitionePlus just after TextField7 which is also bound to $.accountDetail.interestDueAmount.value. This creates a dataGroup obje...
Hi,I think I misunderstood your problem, is it possible for you to publish your form and data somewhere and add a link to it here in this thread so we can see what is happening?Bruce
Hi,The error trying to saying you are binding a field in your form to a group element in your data connection. In your example interestDueAmount is a group element (or complex type) and is represented in your data connection as a dataGroup object. Subforms can be bound to dataGroup objects but fie...
Hi,Try using;util.printd("HH:MM:SS Z", new Date(), true)Or to just get the time zone code;util.printd("HH:MM:SS Z", new Date(), true).substring(9)If you want a more verbose version you can use;new Date().toLocaleFormat("%Z")Regards
Hi,The SUM expression is failing because those fields have not yet been added to the form, so if you check for their existance first you should be ok.if (Exists(Patient_info.Table1.Data[0].amt[0])) then $ = Sum(Patient_info.Table1.Data[*].amt[*].rawValue)endifSo you can still stick with FormCalc....
Hi Shai,That is a strange warning message to get in Acrobat, that is the sort of message I would expect with Reader if the form has not been extended.Not sure about your SUM expression, that seems to be a new part to your form, maybe you will have to share the for again.Bruce
Hi Shai,I think what you are trying to do is not supported by the action builder. But can be done with your own scripting, I have added a script object which contains a custom script that will do what you want, I called it "Script" (see image below). Select this object and then "All Events" under ...