Please help guys - hide fields based on the menu drop-down - javascript - output (adobe livecycle)
I'm trying to hide certain fields in a form that is based on any value selected from a drop down menu, as shown in the image below. My main dropdown has values such as $25, $50 $ 75 and based on what value is selected, I want to hide two text field and date field, I created. Also when you select a value of $1000 I want to hide the ' field Manager ($ 25 - $ 100).
That's how I would solve the problem. Note that the numbers used in the comparisons are links in the drop down menu.
I don't know if it solves your problem exactly, but he should at least get you on the right track.
Tags: Adobe LiveCycle
Similar Questions
-
Hide objects based on the menu drop-down
Hey guys,.
I hope someone here can help me. I've been browsing the forums and tried several options, but can't get anything to work.
That's what I put in place:
- Drop-down list with the following options:
- All (value 1)
- Specific (value 2)
- Range (value 3)
- Two different text boxes (a named range and the other named specific)
What I'm trying to accomplish:
Based on the drop-down menu, the boxes must be visible or hidden:
- All (value 1). the two boxes are hidden
- Specific (value 2); the specific box is visible, but the beach area is hidden
- Range (value 3); the beach area is visible, but the specific box is hidden
No matter what I try (JavaScript and FormCalc) I can't get this to work. If I start with hidden text areas they appear not visible, and when they begin to visible, they hide. I'm pulling my hair out on this one. Any help would be greatly appreciated.
The error isn't in your code, it's in the form itself...
In LiveCycle Designer, you have the properties of form that will design the PDF on how he'll react
You form is set to be a static PDF and a large number of features are disabled in static PDF files
To change your static to the dynamicform, follow the instructions:
1. in LiveCycle, open your PDF form
2. click on Files > in the form
3. open the default values tab and change the last static dynamic dropdownlist (this option may not be necessary as it is for the side server only, but change still)
4. open the overview tab and change ' Preview Adobe XML Form as ' of 'static PDF form' to 'shape dynamic XML'
I hope that this will help there!
- Drop-down list with the following options:
-
Make the text visible/invisible field based on the menu drop-down
I currently have a form that automatically calculates dates based on the value in particular the "Text10" field with the current script of
Custom calculate script for the field 'date '.
(function () {}
Get the date in the field
var v = getField("Text10").valueAsString;
Convert string to date
var d = util.scand ("mm/dd/yyyy", v);
Add 30 days
d.setDate (d.getDate () + 31);
Fill in this field with the result
If {(v)
Event.Value = util.printd ("mm/dd/yyyy", d);
} else {}
Event.Value = "";
}
})();
I want to thank this option to hide the field if one selects a particular value in a drop-down list. Allows to call the drop "decline.1" and values are just 'Yes' and «» Yes makes visible, hide it.
Is this possible? I looked through the forums and can't seem to find a solution. I use Adobe Acrobat X Pro
Thank you
Yes, it is possible. Just add the following line, this isn't little matter so long it after the first year and before the last:
Event.Target.Display = getField("drop1").value = 'no '? Display.Hidden: display.visible;
-
linking two fields and fill in the two field based on the list drop-down selection box 1
I work for a small social service agency VERY small non-profit and I try to get our paperwork until the twentieth century. I hope someone here can help me. I have adobe acrobat, but not of other adobe products. I converted our word document that we use for client notes in fillable pdf format and so far everyone is excited to try it. I have a huge problem that I can't understand. I have a customer named created drop-down list box that contains a list of 300 customers. Box 2 is named customer ID and will contain a unique identification code assigned to each customer.
For example:
CUSTOMER ID customer JANE DOE 12345678
So here is my question how can I ensure that when Unetelle is selected 12345678 is already filled in the second field?
I fill the drop-down list with the names of customer and then enter the customer ID as the value of exports. Note You must have a unique name for each client.
If your customer ID starts at zero, then you must use a custom JavaScript, so you can keep the zero non significant.
For the customer ID field, you can use the following custom JavaScript code:
Event.Value = this.getField("DropBoxFieldName').valueAsString;
You will need to change DropBoxFieldName name of the drop-down list.
You will need a mechanism for updating the new customer form and IDs names.
-
Fill in the field of text based on the menu drop down.
Here's the scenario: I have 2 drop-down lists on page 1 (list1, List2). Based on this selection, I want to fill in a text field on page 2 with their values, after clicking on a button to update at the bottom of page 2. I use the button click event, but how can I get the actual values of each drop-down list on the previous page?
You must give the full path to the objects (i.e. form1. Page1.DDListName.RawValue). look in the view hierarchy to see the structure you want. Conversely, you can place the cursor in the script editor where you want the reference to appear, hold done the key ctrl and move the mouse to the object you wish to reference (it will change into a V). Then click on the mouse and the appropriate for this object reference is displayed in the script editor.
Paul
-
How to fill a field based on a menu drop-down select in another area?
Here's what I'm trying to do:
1 field is a drop down selection menu that requires a user make a mandatory selection that is in this case a list of apartment complexes. What I'm trying to accomplish, is once the user makes a selection in the drop-down list (field1) that it will fill the standard box 2 (txt) with the corresponding address of apartment complexes.
So I seek Talan field 1 apartments, it could fill with Talan apartments address 2 field. I tried messing around with the calculation scripts, but I'm a fight lost here. Little help would be greatly appreciated!
Hello
Here's a sample: https://acrobat.com/#d=Hi0ZwVgVB1PWbxc6OJ0z4A where the script to the output of the drop event sets the value of the object of the address.
Good luck
Niall
-
Display of the image based on the menu drop down.
I'm new to the Live Cycle Designer and trying to create a form where you can select a name of an image in a drop-down list and the image appears on the page to print. The images would be vary in size, so what matters.
I have copy and pasted using Microsoft Front Page code and it works but not sure how to convert a .pdf file. Maybe it is not even possible I wonder where the images reside?
Here's my code for the cover Page:
< html >
< head >
< script type = "text/javascript" >
{Window.OnLoad = Function ()}
setImage() {} function
var img = document.getElementById ('image');
IMG. SRC = this.value;
Returns false;
}
document.getElementById("ImageList").onchange = setImage;
}< /script >
< / head >
< body >
< select id = 'ImageList' >
< option value = "images/transimage.gif' > Select Image < / option >"
< option value = "images/image1.gif" >
Image 1 < / option >
< option value = "images/image2.jpg" >
Image 2 < / option >
< / select >
< p > < img id = "image" src = "images/transimage.gif" / > < / p > "
< / body >
< / html >
Thanks for any help.If you did that the value of exports is set on the binding tab, then it should work. You save the form as a "dynamic" PDF vs static? Otherwise, try recording in a dynamic form.
-
My panels are not displayed when I click on it in the menu drop-down windows. The box appears but not the Panel. Can anyone help?
Try to reset your preferences using Cmd (LTRC) - Opt (Alt) - move when restart you the version of AI. Did you once two monitors?
-
How can I delete the Favorites menu in the menu drop down address bar in IE8?
How can I delete the Favorites menu in the menu drop down address bar in IE8?
Hello
Because you used the nickname 'DaddyJeff' do you need to remove the access of all to Favorites? Otherwise, please
describe in more detail what you need to do.I think that you should use the Parental control or group policies (GPedit if you have professional, company,
(or Ultimate).See this and the 'related links '.
How to install and use Parental controls in Vista
http://www.Vistax64.com/tutorials/95139-parental-controls-Setup-use.htmland these:
Setting up Windows Vista's Parental control
http://www.bleepingcomputer.com/tutorials/tutorial139.htmlSet up Parental controls
http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-parental-controlsI hope this helps.
Rob - bicycle - Mark Twain said it is good. -
Creative cloud does not work... the menu drop-down is gray, the icon is black / gray sometimes...
Hello
Please, try the following steps:
- Uninstall Adobe CC (Creative Cloud help |) Uninstall the creative Office Cloud app)
- Reboot the computer.
- Install the latest Adobe Creative cloud version from the link: CC help | Creative cloud desktop
Kind regards
Sheena
-
By clicking on tools on the toolbar brings up the menu drop-down instead of switching tools
CS3 (real licensed copies), OS X 10.5, Cintiq 12WX - using keyboard shortcuts changes the active tool, but clicking on a tool in the tool bar with the mouse or stylus does not; Instead it shows the menu drop-down with associated tools - Polygonal Lasso, magnetic Lasso, etc. - and clicking with the mouse or stylus in an active window has no effect until a second click. It is absolutely infuriating bug, and I have better to do that swearing screaming at my computer when I have deadlines to meet. Can someone please tell me how CS3 accept 'by clicking on a tool' as ' switch so that the tool "rather than" drop-down menu view other versions of this tool? It took half a day of Googling to figure out how to fix these trash the last time it happened, and stupidly, I did not write the process.
Your understanding of the "obsolete" is as poor as your understanding of 'help '. CS has done everything I need Photoshop CS2 and do still works very well on my Windows machine, CS3 is just what was common back when I had access to student discounts making it actually worth buying a new version of the program.
I had already tried to reset everything that was possible to reset in Photoshop itself - and reinstall the drivers using another mouse and the Cintiq, and restart the computer - several times without success before finally discovering the source of the problem... which is that whenever the System for the mouse settings have been changed, CS3 distorts apparently any setting double-click outside the default as a Ctrl-click the equivalent of a right click Mac in Windows. Because the double-click speed has been changed, each time I left-button/single-clicked on anything in Photoshop, it had misinterpreted as a right-/ Ctrl-click the button instead, which is the normal command to put in place the drop-down menu with all the other partners of the tools.
Reset the speed of the default double click in system settings solved the problem, so I'm CE marking as "assumed answered" in the hope that someone else running into the same problem on an old system might find with Google at least.
-
The product name is not on the menu drop-down?
I bought Adobe Acrobat Standard XI this morning and had to use it. I can't link the serial number with the product that the product I bought is not on the menu drop down. Can someone help me please?
I'm guessing that you have purchased an upgrade version, seized the upgrade serial number and the installation program allows you to enter the serial number of an earlier version of qualification request now?
If this is the case and that you have never owned Acrobat, then you bought the wrong version. You must return it and get the full version.
Contact Adobe customer service
-
These are the small individual square symbols identify the Web site. They are present when checking under "Show all bookmarks" menu drop-down [which opens the info files], but do not show that they were previously in individual link lines in the menu drop-down.
Hi nateich2,
You should take a look at this article which discusses some of the problems with the latest version of Firefox.
There is some information here that should help you solve your problem. Fortunately, this is a very easy solution.
Hope this helps!
-
Hello. I am trying to print in draft mode, black and white, but since I recently installed and then uninstalled a printer canon, printer all-in-one Epson Workforce 545 is more offers me black and white mode fast draft on the menu drop down.
Thanks in advance for your help.
It is a forum of HP. The Epson Workforce 545 you had to best results in the Epson support pages here.
-
When I click on 'file', 'Edition', etc. in Internet Explorer or Windows Explorer, the menu drop-down appears to the right what I'm clicking on., making it sometimes difficult to get to the line on the drop-down list, I want to access. He acted in this way for a while, but I think much about it until I was on a friends computer that do not have the problem. Anyone know how I can fix this problem? Running Vista Home Premium SP2 on a Toshiba Satellite A215-S4807 laptop. Thank you!
It is perhaps a workaround for you...
If you leave space on the left of the screen, the drop-down list box on the left side.
Like this.. .notice that some of my desktop icons appear on the left where the space was.For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.
Maybe you are looking for
-
How to share contacts with 2 accounts different iCloud?
-
Tried troubleshooting re trash corrupted, but did not work. Crashes if trying to type too fast or have it open almost anything.
-
My MacBook Pro battery is drained very quickly.
MacBook Pro, in early 2011. Battery is almost discharged quickly 100% - 10% within two hours. Not did something differently. Do I need a new battery. 2.7 Intel core 17 CHz / 4 GB. 10.8.5 OX.
-
the list of all the tabs on the left of the window
I want to list all tabs to the left in a window like ctrl + b put all the bookmarks to the left of the window. tried 'tile tabs' add it is useless .all one suggest me the shortcut or add on.
-
ATT has now a phone that will do what will make my CLIQ2. their data EDGE 850 network sucks literally. their 3G data network is 35 miles away at its closest point. their ATRIX does not make wifi calls. they will allow t - mo 3G phones to use their mi