Captivate button with HTML form action

Hello,
How would I create a button in Captivate 6.0 that would perform the following action below?
<form method="post" action="https://suppliers.company.com/tracker/reg/CourseReg.cfm">
<input name="submit" type="submit" value="Receive Credit">
<input name="CourseId" type="hidden" value="TR001234">
</form>
I though it would be simple, but not sure what to use. If it should be vaiables, advance actions or javascript?
thanks!

You havent closed these two tags
Sex :
<html:radio property="sex" value="M">Male
<html:radio property="sex" value="F">Female<br>ram.

Similar Messages

  • How to use html form actions and methods

    Hi, I want to make a quick contact page using Edge. I used the following code in my creationComplete but had no luck.  Any help?
    var na = sym.$( "email" );
    email.html( '<form action="send_mail.php" method="post"><input type="text" id="email" value="" />' );
    var button = sym.$( "btn" );
    button.html( '<input type="submit" value="Send" />' );

    My understanding from your question is that you would like to programmatically (using LabVIEW) send input to and click a button on an existing HTML website, is that right?
    If yes, then you can use ActiveX calls to embed a web browser into the front panel of your VI and then use its invoke node to input a text to a form or click a button. Another way is to use the lower-level TCP VIs in LabVIEW, but you need to understand HTTP protocols to successfully use this. See below examples to get started.
    ActiveX
    https://decibel.ni.com/content/docs/DOC-25396
    https://decibel.ni.com/content/docs/DOC-12454
    TCP VIs (HTTP)
    https://decibel.ni.com/content/docs/DOC-2230
    http://zone.ni.com/devzone/cda/epd/p/id/3153
    FYI, LabVIEW Internet Toolkit has been deprecated starting LabVIEW 2012, so it is not recommended to build a new application using that.
    Hope this helps.
    Regards,
    A. Yodha
    Applications Engineer | National Instruments
    Singapore (65) 6226 5886 | Malaysia (60) 3 7948 2000 | Thailand (66) 2 298 4800
    Philippines (63) 2 659 1722 | Vietnam (84) 8 3911 3150 | Indonesia (62) 21 2924 1911

  • Im trying to create a fading button with a fading action.

    I can't figure out how to create a fading button with an additional action to it. I'll do my best to lay out how the actions should work: [red = not working]
    Button > roll over> fade> (that part I have down perfectly) click button> button temporarily replaced with text> roll out of text > process repeated in reverse for smooth fading.
    Every time I set up all these actions and get it the way I want, I run into a bunch of problems:
    Text box holder and text can not be over the button. (Where I need them to sit) When they sit over the button it blocks it from doing any of its specified actions. So I'll make the text box and text a hidden item, then they lose their transition and start flickering when they are interacted with.
    This is basically the last piece of my clients new site and I just need to figure this one little thing out. Please help if possible!

    Try to group the elements so they work together.

  • 2 Formatting issues with HTML forms

    I have a couple of issues that we can't seem to get past with adobe livecycle designer 7.0. We have an internal form, rendered in HTML, that is emailed between departments, and the data entered is stored in an XML file that is created using the code similar to the following:
    protected void doPost(HttpServletRequest request,
    HttpServletResponse response) throws
    ServletException, IOException
    oOutput = response.getOutputStream();
    try {
    FormServerWithXML fsb = new FormServerWithXML();
    fsb.processForm(request);
    File file = File.createTempFile("Form_", ".tmp", new
    File("d:\\xmlFiles"));
    BufferedWriter(new FileWriter(file));
    out.write(fsb.getXMLString());
    out.close();
    When we use a numeric field and try to format it with any display pattern containing dollar signs, decimals, etc... the xml data for that field isn't being written to the xml file. All of the other fields are being written properly.
    The next issue we're having is that with HTML forms, when we create a multiline text field we are unable to limit the number of characters that are allowed in the field.
    I'm pretty new with this, so please send some advice my way if you have any.
    Thanks,
    Chad

    Thanks Rakhi, but that did not resolve my issue. Below is new out as per the thread suggestion and this is not what I wanted.:
    "<H>Thank you for choosing Enterprise.</> We look forward to seeing you at 9:00 am on Monday,
    November 28, 2011. This message is to confirm you have updated your reservation.
    Following are the details for the updated reservation:
    P.S. Remember us when you're renting in town. Enterprise is always nearby at more than 6,500
    neighborhood locations."
    - shalini

  • Captivate Buttons with JavaScript

    At my place of employment, we use Adobe Captivate to create
    demonstrational tutorials for our software system. We are currently
    looking into adding a screen at the end of each of our tutorials
    that includes buttons to either watch the tutorial again ("Watch
    Again") or close the browser window ("Close This Screen")...
    Through Captivate's buttons we can easily create the "Watch
    Again" button by setting the button properties to...
    - If the user clicks on the button...
    --> On Success: Jump to Slide
    ----> Slide 1
    However, I am having some difficulties with the "Close this
    Screen" option. I currently have things set up so that the browser
    window is closed through JavaScript, which works fine. This is
    achieved through the following button properties settings...
    - If the user clicks on the button...
    --> On Success: Execute JavaScript
    ----> JavaScript:window.close();
    The only problem I'm running into is that when I click the
    "Close this Window" button in the published SWF file in an Internet
    Explorer window, I receive an IE pop-up message that says...
    "The webpage you are viewing is trying to close the window.
    Do you want to close this window?", with Yes and No options.
    If possible, I'd like to be able to bypass this message. Does
    anyone have any clue as to whether this is possible, and if so, how
    to do it through Captivate?
    On another forum (
    http://www.trap17.com/index.php/javascript-close-window_t29518.html),
    it looks like I may have found a solution, but I'm not sure how to
    format/translate the language so that Captivate can understand it
    and execute without error. My attempts thus far have been
    unsuccessful. Here is the code that I believe SHOULD work, which
    calls out a pre-defined JavaScript function...
    function NoConfirm ()
    win = top;
    win.opener = top;
    win.close ();
    JavaScript:NoConfirm();
    As I've said; however, this gives an IE error message when I
    run the output and the close function completely ceases to work.
    Again, does anyone have any ideas...?
    Thank you in advance.
    --Daniel

    One of the problems is that IE/Windows will give you a
    security warning when you try to close a browser window from
    another object. The basic rule is, a command from JavaScript to
    Javascript will close without a security warning. Therefore, you
    must place the Javascript code - a function - out in your HTML
    page. It just sits there - and then within Captivate - you call
    that function - and it executes - without an error message :) Note
    - the code below works flawlessly - but depending on your system -
    i.e. in IE - you might receive a warning for running JavaScript.
    You need to run it from a web server from a
    http:// address to make this work 100% with no
    user actions required.
    Here's the code I use:
    HTML Page (you can place this in your standard.htm file, so
    that it's placed in your HTML pages each time you publish). This
    code should be placed within the <head> </head> tags of
    your html page (you can use Notepad to edit).
    <!-- Javascript below called from Captivate to close the
    browser window.
    Code created by
    http://www.kcwebplaza.com/captivate
    -->
    <script type="text/JavaScript">
    <!--
    if(window.parent!=window)
    window.close = function()
    window.parent.close();
    //-->
    </script>
    Captivate Movie
    In your Captivate button properties, select On Success >
    Execute Javascript. Click the ... button, and place this inside the
    dialog:
    window.close()
    Good luck!
    Todd

  • Help with HTML form,please!

    Hi everybody,
    I'm trying to write an HTML form that would allow user to login if he/she has already created username and password AND that would let him/her create an account in case the user is not registered yet. The code below creates a form that allows the user login after what this provided data would be sent to some servlet:
    <HTML>
    <HEAD>
    <TITLE>Meeting-scheduling</TITLE>
    </HEAD>
    <BODY>
    <H2>Login To Meeting-Scheduling Program</H2>
    <FORM METHOD="POST" ACTION="someServlet">
    Username: <INPUT TYPE="TEXT" NAME="username" SIZE="25"><BR>
    Password: <INPUT TYPE="PASSWORD" NAME="password" SIZE="25"><P>
    <INPUT TYPE="SUBMIT" VALUE="Submit">
    <INPUT TYPE="RESET" VALUE="Clear">
    </FORM>
    </BODY>
    </HTML>
    Now,I can't figure out how to add another button, for example, that would trigger another servlet and/or open another form and that would allow user to create an acount. Is this feasible at all? What I basically need is two forms on a single page triggering two different servlets. Thanks a lot,Jimmy.

    Yes u can trigger as many as servlets u want ,by using Javascript.make a normal button to act as submit button
    for e.g
    document.frm.action="/servlet/servletname"
    dovument.frm.method=post
    document.frm.submit()
    I hope this helps u :),if u still have problem mail me at
    [email protected]

  • Help...  Populate pdf form fields with html form inputs.

    I have a website that allows users to choose the pdf document they want and create. After selecting which pdf they want to create they are redirected to a web page with a html form. The html form has questions that corresponds with the the form fields of the pdf document the user selected. When submitted the code (ASP, PHP whatever is the easier) runs a script that populates the pdf document form fields. The user is then prompted if they want to save or open the document. The newly created pdfs and the user inputs do not need to be saved on the server.
    I create the pdf templates using PDF 6.0 professional
    Server can be windows or linux
    I understand ASP a little but will use whatever is feasible
    Purchasing a program is okay as long as its reasonable and is changeable by me and I have full control.
    Any help would be appreciated...
    Thanks,
    John

    Try the Developers/SDK forum...
    This forum is for questions about the PDF Language itself.
    Leonard

  • Urgent :post xml for xsql difference with html form post

    Hi,
    We are developing an application to process xml request
    posted by external party. The requests arrive by
    http-post operation
    We developed and tested with an html-form.
    Now we encounter problems in testing with http-post
    The xsql page is processed correctly but
    insert only fixed text when formatting xml-data as input for
    the insert-request, string inserted is empty.
    Everything is by the book and html-forms works great.
    Is anybody else using xsql to insert xml data in the database on this version? Maybe can you help by looking into a testcase ? Issued a tar but am on terrible deadline
    so need help very soon.
    Details: HP-UX 11.11 Oracle 9.2.0.4 java1.4 ojdbc 1.4
    Tnx in advance,
    Jeroen

    Mark,
    Have an external partner which sends xml-requests.
    Have to read those, store them and process them.
    Idea is let them
    1)post the xml at a url where an xsql page is reading the xml
    2) transforming this for an insert into
    the database. The column is defined to store the complete xml-message.
    3) A trigger takes care of processing the stuff and preparing the output
    4) and a query in the xsql-page reads the output from an output table
    When developing and testing this with an html-form that posts the xml is works great.
    $ cat newclobins.xsql
    <?xml version="1.0"?>
    <page connection="demo" xmlns:xsql="urn:oracle-xsql" >
    <xsql:set-session-param name="id">
    select msgid.nextval from dual
    </xsql:set-session-param>
    <xsql:dml>
    delete cbs_msg_in where id={@id}
    </xsql:dml>
    <xsql:insert-request table="cbs_msg_in" column="id,msg" transform="cbsform_1.xsl"/>
    <data>
    <xsql:query null-indicator="yes">
    select msgid,msg from cbs_xml_out where msgid={@id}
    </xsql:query>
    </data>
    </page>
    $ cat cbsform_1.xsl
    <?xml version="1.0"?>
    <ROWSET xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version="1.0">
    <xsl:for-each select="request">
    <ROW>
    <MSG><xsl:value-of select="parameters/doc" /></MSG>
    <ID><xsl:value-of select="session/id" /></ID>
    </ROW>
    </xsl:for-each>
    </ROWSET>
    1) When using a tool like
    http://www.programmersheaven.com/articles/adrian/getpost/article.html it fails with
    No rows to modify -- the row enclosing tag missing. Specify the correct row enclosing tag.
    2) When using the commandline utility like
    xsql jeroen5.xsql posted-xml=test3.xml
    this works great when inserting plain text but not
    when inserting xml-format data into a column
    So problem 1 is why external tools like above or my partner that uses .net to do something similar gives this strange error?
    Problem nr 2 is should I stick to just the data in xml and forget about storing the xml-formatted data?
    Hope you can help because I am getting quite desparate here.
    Regards,
    Jeroen

  • Update XML files with HTML forms...

    Hi,
    I would like to know if its possible to update or insert data
    to XML files from a HTML form? And how can I do it?
    Does dreamweaver have any extension that does this?

    hi bregent!
    im using php.
    i have a xml flash slide show script, and i want to insert
    this slide show on a site. No problem here, but i would like to
    create a backoffice were i can update or insert the pictures of the
    xml slide show.
    can you help me on this?

  • Help with HTML form code

    I need help on some HTML code if at all possible.
    What I am trying to do is set up a page that someone can
    enter their name address and email into a form and when they hit
    the submit button it automatically sends them a premade email of my
    choosing that I make prior and somehow maybe embeded into the html
    code to the address that they entered? I dont know if it is
    possible but I am sure it can be.
    Thank you in advance

    Actually, you could be subject to "abuse complaints", not
    "abuse".
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "bregent" <[email protected]> wrote in
    message
    news:fb547q$b49$[email protected]..
    > >What I am trying to do is set up a page that someone
    can enter their name
    > address
    >
    > Sure, you can do it fairly easily with any scripting
    language. You need to
    > be
    > cautious about sending automated emails to anyone
    without first validating
    > that
    > they are the actual owners of the email address,
    otherwise you open your
    > site
    > up to abuse.
    >
    > >I dont know if it is possible but I am sure it can
    be.
    >
    > Huh?
    >

  • How can I create a "Next" button with Insert database action

    Hello,
         I want to create a "Next" button that will redirect to another page and at the same time to do an INSERT database action. I've searched on google but I didn't find nothing specific that could help me.
    Below are some screenshots:
    http://imagizer.imageshack.us/v2/800x600q90/22/2yqj.jpg
    http://imagizer.imageshack.us/v2/800x600q90/585/wbn6.jpg
         Thanks.

    DO NOT USE THIS CODE !!!!
    Declare 
      -- Added by ramani 20-feb-2013 
       Seq_Val_ Number; 
    begin 
        if  :P17_NWM_DOC_NO  is null  then 
           Select Nvl(count(NWM_DOC_NO),0) + 1  -- THIS IS VERY VERY WRONG !!! REPLACE WITH A SEQUENCE !!!!!!!!!!!!!!
            into Seq_Val_ 
            from  DMS_NEW_MASTER; 
           -- ref number 
            return  Seq_Val_ ; 
            --summa oru elsif irukku 
           end if;  
    end; 

  • Is It Possible to Embed a PayPal Button with HTML Code and Not Widget?

    I noticed that Muse doesn't have a PayPal Subscribe button for monthly payments.
    PayPal can give me HTML code to embed the button in the website.
    Will the HTML code work if I embed it with Muse?

    Hello,
    Yes you can do that.
    Insert code in <Body> of Page:
    To insert HTML code in Body of page
    Open the page in design mode.
    Go to Object > Insert HTML.
    Past the code in the window and hit OK.
    To insert HTML code in <Head> of Page
    Open Page in design Mode
    Go to Page > Page Properties > Metadata > HTMl for Head
    Paste the code in HTML for <head> section and click OK
    Regards
    Vivek

  • Button with HTML-Link

    Hi!
    I've to create buttons on a dynpro, which process the currently installed frontend mail client (zB. Notes, Outlook, etc.) and fill the recipients, subject and mail body dynamically at the end of "PROCESS AFTER INPUT".
    The application handling should be like a HTML-Link (for example: <a href="mailto:[email protected]?body=Hello%20Fritz,%0D%0A%0D%0Aich%20wollte%20nur%20sagen,%20dass%20">Mail mit Body</a>).
    The solution should work in SAPGui for Windows and SAPGui for HTML.
    Does anybody knows a example coding?
    Any hints are welcome.
    Thanks, happy new year!
    Peter Lintner

    develop a FM with the following code and call it onclick of a button.
    function y_outlook_mail_create.
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(I_SUBJECT) OPTIONAL
    *"  TABLES
    *"      EMAIL_BODY STRUCTURE  SOLI OPTIONAL
    *"      ADDRESS_LIST STRUCTURE  SOLI OPTIONAL
    *"      ATTACHMENTS STRUCTURE  SOLI OPTIONAL
    *"  EXCEPTIONS
    *"      INVALID_PATH
    *"      DOWNLOAD_FAILED
    *"      EXECUTION_FAILED
    data:
        v_translate(2),
        it_vbs          like soli
           occurs 50 with header line,
        v_last,
        v_vbs_filename  like rlgrap-filename,
        wf_filename like rlgrap-filename ,
        commandline(1000).
    *- Prepare a code to translate a quote into a hex-tab
    *- so it can then be translated back to 2 double quotes.
      concatenate '"' '9' into v_translate.
    *  CON_HEX-TAB'
      append:
        'Dim myolapp                                        ' to it_vbs,
        'Dim olNamespace                                    ' to it_vbs,
        'Dim myItem                                         ' to it_vbs,
        'Dim myRecipient                                    ' to it_vbs,
        'Dim myAttachments                                  ' to it_vbs,
        '                                                   ' to it_vbs,
        'Set myolapp = CreateObject("Outlook.Application")  ' to it_vbs,
        'Set olNamespace = myolapp.GetNamespace("MAPI")     ' to it_vbs,
        'Set myItem = myolapp.CreateItem(olMailItem)        ' to it_vbs,
        '                                                   ' to it_vbs.
    *- Translate the body into a single line.
      loop at address_list.
        concatenate
          'Set myRecipient = myItem.Recipients.Add("'
          address_list
          into it_vbs.
        append it_vbs.
      endloop.
      append:
        'myItem.VotingOptions = "Approve;Reject"' to it_vbs.
    *- Build the subject line.
      concatenate
        'myItem.Subject = "'
        i_subject
        into it_vbs.
      append it_vbs.
    *- Prepare attachments
      append:
        'Set myAttachments = myItem.Attachments' to it_vbs.
    *- Check if the attachment exists
      loop at attachments.
      clear wf_filename .
      move: attachments-line to wf_filename .
        call function 'WS_QUERY'
             exporting
                  filename       = wf_filename "ATTACHMENTS
                  query          = 'FE'
             exceptions
                  inv_query      = 1
                  no_batch       = 2
                  frontend_error = 3
                  others         = 4.
        if sy-subrc eq 0.
          concatenate 'myAttachments.Add("'
                      attachments
            into it_vbs.
          append it_vbs.
    * '    olByValue, 1, "4th Quarter 1996 Results Chart"'
    *      append '    olByReference, 1' to it_vbs.
        else.
          message i017(zz) with
             'Could not attach' attachments.
        endif.
      endloop.
    *- Prepare the email body.
      clear: v_last, it_vbs.
      append it_vbs.
      loop at email_body.
        at first.
          append 'myitem.HTMLbody = _' to it_vbs.
        endat.
        at last.
          v_last = 'X'.
        endat.
        translate email_body using v_translate.
        while sy-subrc eq 0.
          replace '09' with '""' into email_body.
        endwhile.
        if v_last = 'X'.
          concatenate '"' email_body '" &vbCrLf '
            into it_vbs.
        else.
          concatenate '"' email_body '" &vbCrLf  &_'
            into it_vbs.
        endif.
        append it_vbs.
      endloop.
      append 'myItem.Display' to it_vbs.
    *- Prepare the vbscript filename for download and execution
      clear v_vbs_filename.
      call function 'WS_QUERY'
           exporting
                environment    = 'TEMP'
                query          = 'EN'
           importing
                return         = v_vbs_filename
           exceptions
                inv_query      = 1
                no_batch       = 2
                frontend_error = 3
                others         = 4.
      if sy-subrc <> 0.
        raise invalid_path.
      endif.
      concatenate v_vbs_filename 'mail.vbs'
        into v_vbs_filename.
      commandline = v_vbs_filename.
    *- Download the file
      call function 'WS_DOWNLOAD'
           exporting
                filename            = v_vbs_filename
                filetype            = 'DAT'
                mode                = 'S'
           tables
                data_tab            = it_vbs
           exceptions
                file_open_error     = 1
                file_write_error    = 2
                invalid_filesize    = 3
                invalid_table_width = 4
                invalid_type        = 5
                no_batch            = 6
                unknown_error       = 7
                others              = 8.
      if sy-subrc <> 0.
        raise download_failed.
      endif.
      call function 'WS_EXECUTE'
           exporting
                commandline    = commandline
                program        = 'WSCRIPT.EXE'
           exceptions
                frontend_error = 1
                no_batch       = 2
                prog_not_found = 3
                illegal_option = 4
                others         = 5.
      if sy-subrc <> 0.
        raise execution_failed.
      endif.
    endfunction.
    Regards
    Raja

  • Buttons in HTML Forms attached to servlets

    Hi,
    This seems like it should be a simple thing to me, but I haven't done enough html (or maybe it's enough servlets) to know what to do here.
    I have a section of my webpage that is entirely servlet-based. On one page (created by a servlet), I have a form. I'd like to put two buttons on the bottom of this form and be able to distinguish which one was pushed. The form sends to another servlet and I am getting other data out of the form in that servlet. (Text fields, which is text input type, that show up in the requestParameters). I tried the following:
    out.println( "<input type=\"submit\" value=\"Button1\" name=\"button1\">" );
    out.println( "<input type=\"submit\" value=\"Button2\" name=\"button2\">" );in the servlet that the form connects to, I tried the following:
    String buttonOne = request.getParameter( "button1" );
    String buttonTwo = request.getParamter( "button2" );
    if(buttonOne != null)
         System.out.println( buttonOne );
    if(buttonTwo != null)
         System.out.println( buttonTwo );
    }But when I do this, nothing prints to the screen, so obviously it isn't right.
    Anyways, if anyone could tell me a way I could tell which button was clicked, that's all I want!!!
    Thanks for any help you might give!!

    But when I do this, nothing prints to the screen, so obviously it isn't right.And don't expect System.out.println() in a servlet to print to any "screen". It certainly won't appear in the browser in response to your request; it should appear in one of your servlet container's log files. If it doesn't, then use the servlet log() method instead. Or just generate HTML containing your debugging output and send that back as the response.
    PC&#178;

  • Create a button with an advanced action to start a video and associated text on the timeline.

    I need help. I have a video on a slide that I want to start only when the learner clicks a Play Video button.  When that button is clicked, the video should start and the associated text captions with their timings should start then as well.  Is this possible with advanced actions?  If so, can anybody help me with those actions?
    The slide would work like this:
    Upon entry to the slide, narration is playing, and a text box appears on the screen.  It tells them to "click the play video button to begin".  Nothing should happen until they click the play video button.
    When they click the button, the advanced action would start the video, and the associated text boxes appear as each "step" in the video goes by.  It's a procedure with step by step instructions.

    You are very correct.  I am making it too complicated!  I believe I will do exactly what you said.  If I still want to have a button that says Play Video, I could just have that button advance to the next slide.  The learner will probably not even know they are on a different slide.  Thanks for making me see that clearly.  Sometimes I get too caught up in trying to do something one way.  Thanks for the help! 

Maybe you are looking for