pass the content of the form dreamweaver field...

Hello my script below:

< script type = "text/javascript" >

function OnSubmitForm()

{

If (checked document.myform.operation [0] == true)

{

document. MyForm.action = "https://webtrace.etdatacenter.com/webtrace.aspx?accesstype=autologin & cust = id_015 & user = temp lateuser."

}

on the other

If (checked document.myform.operation [1] == true)

{

document. ' MyForm.action ='https://carrierconnect.etdatacenter.com/Default.aspx?accesstype=autologin & cust = id_015 & user = user name";

}

Returns true;

}

< /script >



< form name = "myform" target = "_blank" method = "post" action = "" onsubmit = "return OnSubmitForm()"; > "
< fieldset >
< legend > < font color = "#FFFFFF" > CONNECTION < / police > < / legend >
user name: < input type = "text" name = "user name" / > < br / > < br / >
password: < input type = "password" name = "password" / > < br / >
< input type = "radio" name = value 'operation' = '1' checked = "checked" / > < font size = "-1" > customer < / police >
< input type = "radio" name = value "operation" = "2" / > < font size = "-1" > booking Web < / font >
< input type = "submit" name = "submit" value = "submit" / >
< / fieldset >

< / make >

The user fills their username and Word of past and then selects either "customer management" or "web booking" box... Based on radio button selected, they are directed to

https://webtrace.etdatacenter.com/webtrace.aspx?accessType=autologin & cust = id_015 & User = user name if 'followed customer' or

https://carrierconnect.etdatacenter.com/Default.aspx?accesstype=autologin & cust = id_015 & user = username if 'web booking '.

How to pass the user content where I currently have "username", which corresponds to the form field, but I need to move the content.

Thank you

If (checked document.myform.operation [0] == true)

{

document. "MyForm.action ="https://webtrace.etdatacenter.com/webtrace.aspx?accesstype=autologin&c ust = id_015 & user = templateuser. "

}

on the other

If (checked document.myform.operation [1] == true)

{

document. MyForm.action ='https://carrierconnect.etdatacenter.com/Default.aspx?accesstype=autolo gin & cust = id_015 & user ="+ document.myform.username.value;

}

Tags: Dreamweaver

Similar Questions

  • cannot type in the form entry fields

    On some websites, I am unable to click into the form input fields. (The alternative is to right-click on them or tab their).

    However, it's only a fault on Firefox. I am able to do this on other browsers.

    In particular, it is the form of e-mail on the right side of the given site.

    Can you give an example of a site that is hit, so we can take a look?

  • On the forms send us and receive in return, data in the form of fields will be not print.  We can view the data, but the fields to print Virgin.  How can I fix it?

    On the forms send us and receive in return, data in the form of fields will be not print.  We can view the data, but the fields to print Virgin.  How can I fix it?

    OK, it's different. These text boxes are (at least engineering point of view) not considered form data, they are annotations (or markup). On your print dialogue box, you will see a group of "Comments & Form". Make sure that the first control is set to "Document and annotations:

    After this change, you should see the markup of your impressions.

  • Passing the form variables to a thank you page.

    Hi all

    I have put code in place so my survey form transmitting data hidden on a confirmation page and displays the appropriate data. for example

    tag_reportid = 222776

    tag_displayname = Point 26



    My form script is:

    " < form name ="catwebformform3235"method ="post"onsubmit ="return checkWholeForm3235 (this)"enctype =" multipart/form-data"action =" https://BAFs.worldsecuresystems.com/FormProcessv2.aspx?WebFormID=72629 & pageid = %2thankyou.htm? name = {tag_reportid} & amp; titlename = {tag_displayname} & amp; OID = {module_oid} & amp; OTYPE = {module_otype} & amp; EID = {module_eid} & amp; CID = {module_cid} & amp; CC = {module_urlcountrycode} & amp; Sponsor = {module_siteurl, true, true} ">"

    What I see on the receipt/thank you page, is that only the name field has been spent... thankyou.htm? name = 222776,... then it is not passing the titlename field.

    In fact, it seems that it won't any variable after this first field 'name '.

    How can I get the form to send any variable I need more on page of thanks? Thanks in advance.

    Sure thing if your not comfortable with javascript, I created this one liner for you and an example of work (I wrapped the shape with a border of style so that you can see on the page, obviously to remove when you want to go live). I coded only the first two points, if you find that you do others (of course), and then wrap them also.

    Form here

    Example:

    https://jsfiddle.NET/rsy9bxyp/1/

  • How to fill in a programmatic manner, a form in the form designer field?

    Hello experts,

    I have the following problem: I want to fill in a field in the form designer with values that I get after creating a user in a target system. The value I want to use is the user id after the creation in the target system. I was able to get this user id, but the only problem is that I have to make the filling, the designer of the form field in a programmatic way.
    If anyone can give me a help, it would be much appreciated.
    If necessary please ask for more details.

    Best regards!

    Carol

    You should the name of the column as a variable adapter... Open your form of process... Copy the exact spelling of the name of the column at the top of case...
    It is the right way.

  • Pre-fill the form button fields

    Hi guys,.

    After little help! I have created a web form for a company to use for travel. It has specific fields for location, accommodation and date of travel.

    I would like to know the best way to pre fill these fields if someone clicks on through a list of availability on a page of the accommodation?

    For example, if there is a link "Book now" on 11/17/2012 at the hotel of new in France, how I would make only if someone clicks on 'Book now' they then go to a form where they can fill in their details relevant information pre-filled for the date, they chose.

    for example:

    Name: (empty, to enter)

    Address: (empty, to enter)

    Phone: (empty, to enter)

    E-mail: (empty, to enter)

    Date: 17 November 2012

    Country: France

    Accommodation: Hotel new

    Nights: (empty, to enter)

    Any help would be appreciated, thanks!

    S

    All you have to do is have parameters in the URL and fill them according to the options.

    So... nextpage.html? country = & date =.

    And with jQuery that populate these settings on hover/click/change etc.

    Just make sure that they have values before going to the next page.

    On the next page all you do is use module_url.

    So for an entry for the country field you get the value {module_url, country} where the country is the parameter in the URL and the system will fetch its value.

    So the last part is simple, simply to get the url parameters defined when you click on through the following page.

    If it's a form, just add at the end of the action of the form.

  • Truncation of Memo field on the form textarea field

    Greetings

    I have a helpdesk application in which the user enters the question on a form (Memo field) and technology between their solution (another Memo field).

    I can't get all of the text that is in the comic book to display on the form of the tech work.

    I tried:

    (1) UPDATE main_helpdesk

    SET q_description = < cfqueryparam value = "" #Form.q_description # "cfsqltype ="cf_sql_longvarchar"/ >"

    on the action page,.

    (2) setting the Unicode Compression on 'no' in the properties Memo field in the DB (Access 2007 for the moment-SQLSever soon).

    (3) questioning the Memo separately from the main query fields:

    SELECT queue_ID, q_description, q_tech_resolution

    OF main_helpdesk

    WHERE queue_ID = #URL.queue_ID #.

    No luck yet...

    Thanks for any solution to this.

    sakonnetweb

    Things to check.

    1 is the value of the description truncated in the database?  If Yes, check the data type of the database column.

    2. If the value is not truncated to the database, but it is truncated in the SELECT query, verify that CLOB is enabled in your data source CF.  See: http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf364104-7fe7 .html

    Note that you must also use CFQUERYPARAM in your SELECT query.

  • How to pass the info text field into another section or a Word Doc.

    I am trying to understand something and I have a problem.

    I have a series of text fields that I want my students to fill out. I would like that they fill out he place this text together of all these boxes in a paragraph, or somewhere else on the form or in Microsoft Word.

    It would be nice if they could press a button and it combine fields into a paragraph.

    Is this possible?

    Thank you

    You got right.  The form is saved as a static pdf, so he is prevented from change when you view it in Reader.  If you want an interactive form, it must be registered in a dynamic form.  Re-save the dynamic PDF form (save as on the menu and choose Save as Type: Adobe Dynamic form XML).  It should work fine after that.

  • How to pass the form on a table after a query?

    With the help of Oracle 11.2 and Apex 4.1.
    1. I use a form on a table with buttons: QUERY, INSERT, DELETE and CANCEL.
    2. after INSERT and DELETE, the shape is erased.
    3 but I would remove the form after the QUERY. Well, I want to clarify when the user wants to that he erased!
    4. and, in fact, I have a process to clear the Cache for the button CANCEL.
    5. when I click on CANCEL, there is a flash like redraws the screen.
    6 and I think this is the case, is that after the cache is cleared, the variable RCD_ID of the page has the prior value and treatment of the "table row" retrieves the file once more.
    7 so I return values that I wanted to clear! Looks like I'm being undermined by the functionality of the ARF. (ARF, ARF!)

    1. I tried to change the "Go to page nn" to clear the cache for the page, but that seemed to make no difference.
    2. I tried to adjust the page RCD_ID variable to "as I do after DELETION, but that has not worked either to CANCEL.

    Thoughts?

    I guess it's just me, but the extremely annoying part of the APEX is that some simple obvious things – like the form of compensation - have no obvious simple solution. I would say, there are a few obvious approaches, but none seems not to work. You would think that a 'CLEAR' button would be a standard button or CANCEL to had an option to clear the form and or clear a list of items on the page.

    Howard

    Howard (DBA in training) wrote:

    For the button CANCEL, 1) I clear the cache of the page and 2) I put the variable RCD_ID (P2_RCD_ID) ". But without effect. When I consider the debug report, I don't see any indication that CANCEL was pressed or that these processes have been executed. So, maybe they are not running. I see the record being extracted again - which is what I want to avoid.

    Processes are not executed because the page is not submitted. The Cancel button does a redirect, not a shipment:

    apex.navigation.redirect('f?p=21997:2:13040303230582::NO:::')
    

    Change the button action to present, with the value of the request as "CANCEL".

    By default, generated by the wizard Cancel button will be created to perform a redirect. The anticipation is that the behavior required to navigate to another page in the application without changes to session state or process.

  • How to make the default value in the form input field disappear at the click of the user

    I have a HTML input with a default tag.

    How can I get this value disappear when the user starts to type?

    A form is here:

    http://www.kardsbykaren.us/10pack.php

    Happy holidays and thank you.

    Have a look here http://www.matiasmancini.com.ar/ajax-jquery-validation-html5-form.html

    GRAMPS

  • How to get the values of the shape of the object in the form of process field?

    Hello

    I created the resource object and it has the shape of the object that are associated with him. When the user self praying for this user RO add information in the form object field ho can I get these values as a process?

    How to get the values of the shape of the object in the form of process field?

    Hello

    If you want to map the form field Number in the form of process field go process definition - Data Flow Mapping tab you can add the field map.

    Thank you
    Patricia

  • Delete the keywords input field after form submission web app search

    Hi all

    I work on a Web site and have a question about a specific page:

    http://tullystattoo.BusinessCatalyst.com/Raleigh-tattoo-portfolio

    My question is: did someone knows a way to erase the form input field "Keywords" after we submit the search form? By example, if I type in a word like 'colour' in the keyword and click the search button, I am presented with pieces of portfolio that include 'colour' in the description. However, the 'color' remains in the keyword form input field, so if I decide I want check the 'grey' and 'technical' rather than 'keyword' search, the color of the Word always remains in the input field. Dies, someone has any ideas on how I might be able to clear this form field whenever a search is performed?

    Thank you in advance - you guys and girls are always great!

    I found an example of a site that has done can be found here: http://planmyplay.co.nz/ but I don't know how they do?

    Hey,.

    It "should" work.

    You need to insert some javascript/jQuery in your scripts.js file

    on one of the empty lines before //Flex cursor init

    You must insert:

    if (jQuery('.webappsearchresults')[0]) {jQuery('#CAT_txtKeywords').val("")}
    

    Basically, it checks to see if there are some search results on the page, and then clears the value of the search box.

    I do not guarantee that it works, but I'm pretty confident that you may need to play a little with it.

    See you soon

    Pat

  • Dynamic form in the current state (fields visible/invisible)

    I've created my form dynamic so that some fields are visible and invisible, based on other selections in the form.  I created a submit button using a standard button and parameters to send the PDF file as an attachment to the appropriate address.  When the attachment is opened, the presence of the fields return to their State to be visible or invisible.  It's the same look you have when you open the PDF file under a new name.  The data entered by the user is still in the fields, some are just invisible.  Is it possible to send the PDF file with the visible/invisible state of all fields when the Send button is pressed?

    Example of


    New file is opened:

    Field visible =

    Field B = invisible

    The user changes the settings and submit the form:

    Field = invisible

    Field B = visible

    When I opened the attachment:

    Field visible =

    Field B = invisible

    Hello

    Check the properties of the form.

    There is a setting preseve script changes.

    Details on are explained in the tutorial video (03:10 min)

    http://TV.Adobe.com/watch/working-with-Adobe-LiveCycle-ES2/configuring-Forms-to-preserve-s cripting-changes.

  • Limiting the URL of the Image (MySQL field) to a certain area/size

    Hello

    I have a database that contains a "Image URL" field for people to grab an image from the internet to the given equipment.

    The problem is that the images are all sorts of different sizes, and when it is displayed on the site, there may be an image that filled the entire page!

    I have the 'Image' of the Forms tab field in Dreamweaver, and it is the display of images. (As shown below):

    before.JPG

    For the moment, the image is so large, it overwrites all the text on one side.

    Is there a way for images to be limited and fill in a certain area?

    Here is a picture of what I mean. (Modified image)

    after.JPG

    Any help would be much appreciated!

    Thanks for the reply.

    I fixed it by creating a

    tag and instead to insert the form 'Field of the Image' I walked inot the mode of creation, while still in Code view. It grew up a different window with many more parameters for the image. Here I placed the desired height and the source of the image.

    Thank you very much for your help!

  • How to insert a username of the form page access page

    Hi friends,

    I created an apex of database application in which it consist of three pages...

    login page 1) - > 1
    form 2) page with page report (in the same page), that is, I have created a region within a form region report
    form page 3) (this page is displayed when I click on the option change in my previous report page)

    (i.e.) my 3rd page of form depends on my 2nd page of report, because not long after I click on the edit of each line option in my report which is on the 2nd page, he has to go to the 3rd page of form corresponding to a updations in each row.

    I created my applications listed above...

    But the scenario for me because the login page contains two fields, i.e.

    user name:
    password:

    so I'll give my name in the user name and PW respective to access my page of 2nd and 3rd in my request...

    Given that my 2nd page of the form consists of the following fields you

    user name *)->
    *) assigned to
    status *)
    start date *)
    priority *)

    My requirement here is therefore shortly after I logging into my application via the username and PW on the second page, coming on the second page of the form

    my username in my 2nd page of the form should be inserted automatically with the user name that I entered the login page...

    example: my user_name in the login page is: harry

    After being passed in the second page of the form with the user name "harry."

    my 2nd page of the form 'username' field must be automatically generated with the name 'harry '.


    Of the friends as possible to do this in my application... I have not any idea of it... Kindly help me friends to resolve my screenplay... Please explain each step in detail...

    Since the user_name: harry, is of I got the side admin as a developer for the workspace...

    Thanks in advance

    Harry...

    Hello

    Under the heading "Source: region selection

    Source: replacement always, value that exists in session state
    Source type: column database

    Default value: APP_USER

    Kind regards

    Patel Kartik
    -----------------------------------------------------------------------------------------
    http://patelkartik.blogspot.com
    http://Apex.Oracle.com/pls/Apex/f?p=9904351712:1

Maybe you are looking for

  • Satellite Pro C650 - Audio keeps cutting

    Hi guys,. I searched high and low for the answer to this question and its driving me crazy. I really hope you guys can help out me! I have a Toshiba Satellite Pro C650 01301J laptop running Windows 7 Professional 32 bit. I try and listen to the music

  • How to make the autonomous system?

    Hello, I want to make my autonomous system (means do not need a pc to run) using myrio 1900 board.so is necessary to use FPGA of myrio or it can work with programming level RT?

  • M70e Dual - VGA and DVI (Quadro FX380) display adapters

    Hello Recently, my team received M70e SFF machines with two monitors to work on. These computers for some reason any, that all came with nVidia Quadro FX380 workstation GPU, I installed the drivers for nVidia cards and chips intel integrated (both wo

  • Troubleshoot the switch 12 with a projector or VGA monitor Acer

    I connected my Acer Aspire switch 12 to a VGA monitor via a HDMI VGA adapter microphone. The switch 12 sees the second monitor, but seems unable to get a signal to start it. In this respect also disables my wireless and sometimes the mouse as well. I

  • Virus that resembles an antivirus program

    My computer has a virus that looks like an antivirus program that will not let me remove anything, open menus, files, etc.   Any way to get rid of it, I can do it myself without launching the recovery CD?