Create a Button that Opens a Specific Web Link from a Dropdown Box

Hi guys.  My main question is, how do I make a Button that opens a specific Web Link, depending on the URL selected in a Dropdown box?
Example:
I'm a comlpete newbie and need a code sample of how this would work!  Thanks!
I have a couple other questions which are related to this. 
1) Is it possible to hide the URL in the Dropdown list, and only show the Name, so for examlpe, it would only list Hotmail, Gmail, Yahoo, and not the www....com?
2) Another more advanced question is, once the web link is opened, is it possible to have adobe input or fill-in the Login and Password fields into the website and then hit "Enter" for you.  The Username and Password would be stored somewhere in adobe and would depend on the weblink opened. So for example: When you open Hotmail, it would use the following; Username:[email protected] and Password:password1, but if you opened Gmail, it would use a different Username and Password stored for Gmail.
3) Finally, out of curiousity, is it possible to have adobe extract data from a website, and fill them into an adobe form?  This maybe over my head, but any starting point or examples would be of great help!

Use something like this as the button's MouseUp action:
app.launchURL(this.getField("URL Dropdown").value));
To answer your other questions:
1) Yes. Place the URL as the export value of each option, and the name of the site as the display value. The code I provided can remain the same.
2) No.
3) Might be possible, but it's very tricky. The way to do it would be to convert the website to a PDF, process that PDF to extract the data from it, and then use that to populate the form fields. That would require quite advanced scripting knowledge, but it could be possible.

Similar Messages

  • Hwo to create a button that opens a popup

    Hallo,
    I wanna create a button on a page (thats not the problem) that opens a popup where data from a table (two rows) is in.
    I found different documents but nothing that really solves the problem.
    Any idea and helps is really appreciated.
    Thanks and regards, Jade

    Hi Jade
    I'm not sure what documents you've looked and why they haven't helped you. To call any page as a popup, you just need to run some javascript:
    <script type="text/javascript">
    function callMyPopup () {
    var url;
    url = 'f?p=&APP_ID.:123:&APP_SESSION.';
    w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
    if (w.opener == null)
      w.opener = self;
    w.focus();
    </script>
    and you button should call the javascript function:onClick="javascript:callMyPopup();"
    I tend to put things like this in A tags on my page.
    Is there something further that you need to do with the popup report?  Do you need to set some value to filter the report and/or return a selected value from the report back to the calling page?
    Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Open the external web link from the help contents in EclipseRCP Action bar advisor

    Hi Team,
    I am working on the eclipse rcp application(eclipse 3.3), I want to open the external web link(www.test.com) when user clicks on the help contents in help section. how to achieve this.
    And also i want to open the external link from toc.xml file, when i add the external link using href command in toc.xml the help contents will be disappearing.
    sample code:
    ?xml version='1.0' encoding='ISO-8859-1' ?>
    <?NLS TYPE="org.eclipse.help.toc"?>
    <toc label="ddd" >
    <topic label="guide" href="http://www.test.com" />
    </topic>
    </toc>
    can you guys please help me how to do this.
    appreciate your help.
    Thanks.
    Raju

    Eclipse 3.3? Seriously?
    > Hi Team,
    >
    > I am working on the eclipse rcp application(eclipse 3.3), I want to open
    the external web link(www.test.com) when user clicks on the help contents in
    help section. how to achieve this.
    >
    > And also i want to open the external link from toc.xml file, when i add the
    external link using href command in toc.xml the help contents will be
    disappearing.
    > sample code:
    > ?xml version='1.0' encoding='ISO-8859-1' ?>
    > <?NLS TYPE="org.eclipse.help.toc"?>
    > <toc label="ddd" >
    > <topic label="guide" href="http://www.test.com" />
    > </topic>
    > </toc>
    >
    > can you guys please help me how to do this.
    >
    > appreciate your help.
    >
    > Thanks.
    > Raju

  • Create a button that opens a XML data file

    I have a PDF form that was created in LifeCycle Designer. I want to have a button that when you click on it, it will open the "select File window" so that you can then import an XML data file to the PDF form.
    You can do this option manually when you are Adobe Reader in the Form by clicking Advanced, Data, Import Data to Form.
    I want to automate that by just clicking a button. Does anyone know the script to use behind the button to make this work. It's gotta be easy but I can't figure out how to bring up the "Select File Window"
    Can anyone help.
    Thanks
    Sean

    Hi Sean,
    You can import an XML data file by clicking a button, with following code:
    xfa.host.importData();

  • I need instructions on how to create a button that will email a pdf form to someone else on a websit

    I NEED ASSISTANCE CREATING A BUTTON THAT WILL EMAIL A PDF FORM FROM A WEBSITE TO WHOEVER THE VIEWER WANTS TO

    Just a bit more info. E-mail can be used, but has potential problems -- often related to the client machine that you have no control over. Use the data submissions (either FDF or XML) rather than the full PDF so you do not have to deal with Reader Rights and the related license issues. The FDF and XML data files are easily imported into the original form so that you see what the client sees. With those aspects in mind, just go ahead and try one. Be aware that you can add form fields using the form tools in the Advanced Editing tools, OR use the forms menu that will take you to Designer. You might want to try both to see the pros and cons. Be sure to keep such a test simple so you are not wasting time on your final form just for testing. I typically create a 1 page form that has all of the possible fields for such a test.

  • Is there a way to create a button that links to a website?

    Is there a way to create a button that links to a website?
    I was reading up that it's possible to this with menus, and tracks but can you do it with a button and how?
    I am hoping to create a button that people viewing my discs on a computer can click on the link and their web browser will pop up and take them to a website.
    Any help is appreciated.
    Thanks.
    -Fraky

    dvd@ccess questions are being asked once a week on this forum, so I'll repeat why it's useless:
    - Mac users have to enable the feature in the preferences of DVD Player in order to for the links to work.
    - PC users have to install a small application on their PC, and they have to reboot the PC in order for the links to work.
    - On top of this, it's still unreliable, and may not work on some computers.
    It's a dog: Don't use it.

  • Can I create a button that copy's a certain test to my clipboard?

    Can I create a button that copy's a certain test to my clipboard?
    For example, when I click the button on the website, then the next time to paste somewhere, a specific text appears?
    If this is possible, could someone please explain how? =(

    Hi Travis,
    There is no native feature in Muse to achieve this. However, you can use custom code to achieve this. Please refer to the following link for the sample code : How to copy to the clipboard in JavaScript? - Stack Overflow
    Regards,
    Aish

  • Creating a button that highlights itself and another object

    Hello all,
    I have a specific function I am trying to apply to my InDesign document intended for exporting to an interactive PDF and SWF/html format.
    The function I am trying to create is:
    I have a picture of a typical WYSIWYG tool bar. I have created highlight buttons that sit on top of each icon in the picture. When the reader rolls over (with cursor) this picture of an icon I want it to highlight, and also a piece of text further down the page to highlight as well (which is a definition and explanation of the icon). So I want the rollover action of my first button to also trigger another action, which is to highlight a piece of text elsewhere on the page. I have managed to get it so that I hover over the first button (picture of icon), it highlights, and the text further down the page appears. But this isn’t quite what i want. I want the text to exist already, then highlight. Basically, I want to the two buttons to be linked. So that every time I hover over a portion of the picture with a created button, it will highlight, and a piece of exploratory text will also highlight simultaneously elsewhere on the page. A bit like an infograph. Surely this is possible?
    Thanks in advance for your help.

    Generally, animations like this with the goal of exporting a SWF are better be done in Adobe Flash.
    In Indesign it sort of works, too. Only for export to SWF, you can assign the action "Go to status". For a text frame, you can assign different status, where the 1st status would be "normal" and the 2nd status would be "highlighted". Highlighted applies to the object "text frame", so you can assign a stroke or fill. Better than nothing.
    Example: Dropbox - test_highlight.indd

  • Creating a button that flips back and forth on iPad in InDesign through DPS

    How do I create a button that flips back and forth on iPad in InDesign through DPS. I saw it on a food magzine on an ipad ... it's just a circle with text it in, when you click it the whole circle flips to the other side and there is a different color with different text. The circle does not change position, it just flips. Again, I want to do this so it shows up on the ipad through DPS.
    Thanks,
    Jay

    You need to create a Web overlay. There's an HTML example you can download and repurpose in this article:
    http://blogs.adobe.com/indesigndocs/2013/02/dps-tips-html5-examples.html

  • Need to create a button to open an URL

    Hi, everyone:
    I want to create a button that response opening a webpage. How? someone can help me?
    Thanx
    Khriz

    Hey ! Go for this , this is very easy !!
    public void actionPerformed(ActionEvent ae)
        // showContent is a button
       if( ae.getSource()==showContent)
          try
            Process process = Runtime.getRuntime().exec("start www.yahoo.com");
          catch(Exception e)
    }

  • Can't open a specific web page

    i am having a trouble opening a specific web page. It tells me that it cannot find/connect to server, but it is only happening to one web page

    wow i thought i was the only one!
    it's also happening to me but in my case the whole myspace.com site (profiles, home, etc) isn't working
    it does open the page but it doesn't load it properly, the vids doesn't appear and some images only appear with a "?" sign meaning that it cant load it, the music is not loaded
    i've also tried with firefox but it doesn't load it either
    and i've also tried with a pc i have here in my house using the same wireless network i use with this mac im having trouble and i can open any page including myspace
    please answer!:(
    Message was edited by: fabdelarge

  • How to create a button that Copies subform data and paste it to a new page?

    Hi , I'm want to create a button that when clicked copys all the data from the feilds of a subform off the previous page and paste it into current page.
    I have used Steve's "Simple table.pdf example" to add a subform called DecorationDetail that has a button that adds an instance when clicked.
    Contained in the decorationdetail subform are feilds named Quantity, Description,UnitPrice etc. and a delete instance button.
    So when the first page is filled out, and a second page with blank duplicate feilds is added by a add page button. I want to be able to click a button
    positioned at the end of the row of feilds, and it then copies the same subform data from the previous coresponding page and pastes it into the current page subform feilds.
    Hope this make sense?. A step by step guide would be greatly appreciated!!!.

    Hi,
    Does this article provide you with some clues? http://www.perfectwebtutorials.com/2011/how-to-create-simple-contact-form-in-flash/
    Thanks,
    Preran

  • How to create text buttons that link to video?

    I've finally gotten around to trying DVD SP, and even though I read the whole manual, it's not at all clear if, or how, you can create text buttons that link to the video you want to play, without displaying a clip of that video in the button itself.
    I have no problem creating a text button, but I can't change the font, and editing is counter-intuitive, unlike iDVD. I'd use iDVD, but it doesn't accept .m2v files, and it seems to think that my 6 videos of about 43 minutes each are too large for a DVD+DL disc, so it won't let me burn it or save it as a disc image.
    Does anyone have a way out of this conundrum, or am I SOL?
    Mulder

    It really isn't that hard!
    As Drew said, go into your menu and click and drag to create a button rectangle. With the button highlighted, look in the property inspector at the bottom and type in the text that you want to use. Ensure that you 'include in button highlight' and then set the colour choice for selected and activated.
    What you get is a simple line of text which illuminates when you roll over it, and changes colour when you click on it.
    Once that is done, click on the button area again and set the target to go to the piece of video that you want to have play back.
    You should also set the menu call and end jump on that track to make sure your viewer can get back to the menu.
    Once that is done the menu will show as a simple piece of text (more buttons means more bits of text, and the first button will be highlighted by default) and no video will play until the button is activated.
    DVDSP is definitely a steeper learning curve than iDVD but for very good reasons. You get far greater control and access to far more advanced features in DVDSP. This means that some things will seem harder, whereas in fact they are just different and the process for achieving the result you want is different. Much of what you want to know is in the manual and also in the tutorials which came with the app. Failing that there are several good online spaces where you can find a lot more information... not least of which is right here, of course!

  • Is there a way to create a button that works the same as the ImageField?

    I am trying to create a button that acts like the ImageField tool. I want to be able to click on the button and it will direct me to browse for my photo that I want to attach.
    I am using LiveCycle. (I am a nooby and have limited skills when it comes to script)
    The ImageField function is to complex of a function for the use on my IPAD (PDF Expert APP). I can create a photo button using Adobe Form Creater and it works fine with the below script:
    event.target.buttonImportIcon ();
    This is a mouseup Action Event.
    My form that has been created in LiveCycle works perfectly on my IPad, except the photos. If I can simplify the function of the photos to act more like the Adobe Form Creater tool, then perhaps it will all work together.
    Any ideas, or is this just a waste of time? I have created the form over using Adobe Form Creater, but it has some limitations that make it not function as nice as LiveCycle's form.
    Thanks

    Not in Acrobat unless your image is already in the PDF format.
    This is a feature of forms created with LiveCycle Designer.

  • Acrobat 9.0 Std - How do I create a button that will show / hide the menu bar?

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

Maybe you are looking for