Hi, I've looked everywhere in this forum and can't find the exact answer I'm after.I have a numeric field that starts with a fixed value of '44', and 6 checkboxes. For each checkbox selected I want '2' subtracted from '44' e.g. if 1 checkbox is selected the value becomes '42' and if two checkboxes a...
I have a lengthy e-mail script in which one of the fields sometimes contains an ampersand as a value, e.g., "Litigation & Enforcement". The value is set in a drop-down earlier in the form. When the field has a value like that, it cancels everything that comes after that point in the e-mail script,...
Hi All,I have been mucking around in javascript in acrobat for a little while and playing with javascript in forms.I have tried using some code that refers to this.rawValue - which I would assume returns the unformatted value of the field that has focus?The problem is that if I try to debug the valu...
Is there a way to trim only the leading and trailing spaces from a field? I have a Name field, which I later split so I can generate using just the first name, using the rawValue.split method. This way I can generate an e-mail that says Dear John, instead of Dear John Smith by pulling from that fi...
I would use the functionxfa.host.messageBox ( "BLACK"" , "MY COLOR", 3 , 1 ) ; to display an Alert message if the text1 field is equal to "BLACK"orto display an Alert message if the text1 field is equal to "YELLOW"orto display an Alert message if the text1 field is equal to "GRREN"Tks
hi there,I'd like to ask a question that is it possible to travel upward in data binding? like $.parent.data?we have xml like below<level1> <name>Name</name> <level2> <data>Data</data> </level2></level1>and in XDP, we have subfrom already bind to <level2> $.level1.level2, but ...
HI All!Need some help with some javascript. I have a form that has a radio button B that when you select it, shows a subform. Inside the subform is a table that has a dropdown list. The drop down list is populated based on a previous radio button A that was selected, and is a subset of possible ...
Simple question that I can't seem to find an answer to. I'm building a PDF form using LiveCycle. I have some radio buttons. When I select a particular radio button, I want it to also select/toggle a checkbox, called "checkbox1" for example. I assume that I need to do this in a script. How do I toggl...
Hi, i currently am having an issue with getting the instance manager to count and display the current number of subforms.I have a TextField called TextField117 in a subform Called Row24, which is in a subform Called Set2.I also have a button called Button 1 that creates a new instance of Set2 every ...