Submit disabled form field value?

Is it possible to disable a form field, but still have it be included in the request object on the form handler page?
For instance, I have a field that is required and the customer wants it disabled so it can't be changed until another checkbox is selected. When the form is submitted, the disabled field value isn't passed. Is there anyway around that, short of changing the customer requirement?
Thanks,
-Shadow

You might try using the property "readOnly"
It applies to textfields/textareas
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/readonly_1.asp?frame=true
This doesn't disable the component - it can still be selected.
It just cannot be edited.
http://www.w3.org/TR/1998/REC-html40-19980424/interact/forms.html#adef-readonly
The readonly attribute specifies whether the control may be modified by the user.
When set, the readonly attribute has the following effects on an element:
Read-only elements receive focus but cannot be modified by the user.
Read-only elements are included in tabbing navigation.
Read-only elements may be successful.
The following elements support the readonly attribute: INPUT and TEXTAREA. Cheers,
evnafets

Similar Messages

  • Forms personalyzation, passing Form field values to SRS concurrent request.

    Hi,
    Iam calling an SRS from forms personlization. Can any body tell me how to pass the Form field values as parameters to the Reports. (Example when they call this Concurrent request from Transactions screen, The invoice number should be defaulted in the report parameter).
    Regards,,
    Anil.

    Hi,
    You can use FND_REQUEST.SUBMIT_REQUEST to submit a concurrent progrm with parameters given.
    For example, get the invoice number into v_invoice_no and call a function included code bellow.
    FND_REQUEST.SUBMIT_REQUEST(
    <app_short_name>,
    <concurrent_short_name>,
    to_char(SYSDATE,'DD-MON-YYYY HH24:MI'),
    FALSE,
    v_invoice_no,chr(0),'','','','','','','','',
    '','','','','','','','','','');-- 100 ARGUMENTS FROM THE BEGINNING
    Where chr(0) must be the last argument.

  • Actionscript & changing form field values

    I am building a form using flash forms. I have a particular
    field that by default the value is 0.00. I want to make an onchange
    actionscript that will dynamically change the form field value to
    0.00 if the end user deletes the value out of the field and leaves
    it blank.
    Please be gentle...I know my actionscript'ing is poor (and
    probably looks a wee bit more like JS than AS) LOL
    <cfsavecontent variable="zero_myfield>
    if (myfield.text == '') {
    myform.myfield.text == "0.00";
    </cfsavecontent>
    <cfinput type="text" name="myfield"
    onchange="zero_myfield">
    I know you can manipulate the value of a form field easily
    with javascript, but how to do the same thing with actionscript?
    Any pointers would be appreciated!
    Thanks!!

    ROFL, I figured as much...like I said, my AS is *very*
    rudimentary right now heheh
    I picked up an AS book yesterday evening to hopefully help me
    out some, I know not all AS is available to use in ColdFusion flash
    forms, but it will give me a good reference I hope.
    I'll try my hand at the listener and see what I can come up
    with. Thanks for the pointer!! :)

  • Modify form field value

    I have the PDF form with several fields. I want to set the value of one field depending on selection made by the user in other field. I am trying to use if statement but it does not work for me. I have copied below the script I am trying to use.
    form1.#pageSet[0].Page1.Table.Table3[0].Row1.Cell1::change - (JavaScript, client)
    if (oField.rawValue == "Service Alert")
       this.resolveNode("Cell4").rawValue = "A";
    else if (oField.rawValue == "Service Bulletin")
       this.resolveNode("Cell4").rawValue = "B";
    When user selects Service Alert in Cell1 I want the value of Cell4 to be set to A and if Service Bulletin is selected I want the value of Cell4 to be set to B.
    Can someone help me with the script. I have done a bit of searching and tested verious syntax but nothing did work. I hope someone will help me to have it working.
    Regards,
    Tony

    Thank you very much for your help, but it did not work for me. I have decided to reply and to send you the form. Could you please have a look on what I have done and try to fix it. I want to add action to Cell1 to modify Cell4 in row 1 of the form, top on the blue background.
    Regards,
    Tony Pluta
    Engineering Technical Coordinator / Graphics Designer, Engineering
    Rail
    Description: C:\Users\tony.pluta\AppData\Roaming\Microsoft\Signatures\UGLLimited.gif
    16 Broadmeadow Rd | Broadmeadow NSW 2292 | Australia
    Direct: +61 2 9492 1277  | Mobile: +61 403 399 167
    Fax: +61 2 9462 1383
    Email: [email protected]
    Web: www.ugllimited.com<http://www.ugllimited.com/>
    Please consider our environment footprint before printing this e-mail
    From: kvdvijaykumar [email protected]
    Sent: Wednesday, 29 May 2013 4:14 PM
    To: Tony Pluta
    Subject: modify form field value
    Re: modify form field value
    created by kvdvijaykumar<http://forums.adobe.com/people/kvdvijaykumar> in LiveCycle Designer - View the full discussion<http://forums.adobe.com/message/5360639#5360639

  • How to pass the FORM Fields value by Form Personalization

    Hi ALL,
    I want to pass form filds values in to procedure. I am calling this procedure through form personalization of that form..... But it's not accepting any form field's value there... when i am passing hardcoded vales procedure is executing fine...
    can any one suggest what to do???
    i tried with these syntax
    TEST_EMP_FP(:ADDR.ADDRESS_ID,'ABC')
    TEST_EMP_FP(${item.ADDR.ADDRESS_ID.value},'ABC')
    Regards
    Ravi

    Hi,
    Iam calling an SRS from forms personlization. Can any body tell me how to pass the Form field values as parameters to the Reports. (Example when they call this Concurrent request from Transact5ions screen, The invoice number should be defaulted in the report parameter).
    Regards,,
    Anil.

  • Submit pdf form fields data as customized template

    Hi
    Is it possible to submit pdf form fields as a customized template?
    when the form is submited, I want it to be emailed to me as text form and the form field data would be autopopulated into the text template.
    Im not sure but is this how fdf works?
    if so, how do i get my form to be submitted as fdf?
    please help.
    thanks.

    Here you go .....the 3 fields at the top are where you enter data. The allfields field is the field that creates your special format and teh submitted data field is what you woudl recieve in the email. Note that i changed th ebinding for the first three fields so that they are not included as separate items in the data file. This shoudl simplify what you recieve. I cam change the format of what is written to the allfields if you need a different distinction. In this example I hardcoded everything ....depending how many fields there are on yours i woudl use a different approach (using some complicated code) but the concept woudl be the same. I woudl find all of the fields on your form and loop through all of these objects in a for loop construct this will reduce th eamount of code dramatically and also allow you to modify the form to add or remove fields as you see fit without having to change the code.
    Make sense?
    Paul

  • Referencing form field values in javascript

    I am attempting to call a report from a button on a form in Portal. I have been successful in calling a report from a OnClick JavaScript event handler, but I also need to send a parameter to the report based on the value in a field on the form.
    I have been unable to find any information on how to do this. Does someone know how to do this? Thanks.
    Bruce Cable
    Kids123.com

    Perhaps this technote below may be of help:
    Addressing field values in forms
    For forms all of the form field values are kept in the "session storage", which is an internal
    data structure object
    and has some methods to access the data
    to access them you must have following information:
    1. Block name
    - DEFAULT for forms on tables
    - MASTER_BLOCK for the master section of MD form
    - DETAIL_BLOCK for the detail section of MD form
    2. Attribute name (is the column name plus 'A_' prefix)
    3. Column datatype (NUMBER, VARCHAR2, DATE)
    Example:
    declare
    my_empno number;
    begin
    my_empno := p_session.get_value_as_NUMBER(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_EMPNO');
    end;
    In case of MD form, there are 2 blocks - MASTER_BLOCK for master section of the form
    and DETAIL_BLOCK for the detail section. Since there is more that 1 record in detail section
    you must specify a row index for the detail row
    Example:
    declare
    my_empno number;
    begin
    my_empno := p_session.get_value_as_NUMBER(
    p_block_name => 'DETAIL_BLOCK',
    p_attribute_name => 'A_EMPNO'
    p_index => 5);
    end;
    Writing custom buttons code
    Every event handler has p_session argument, for any event handler it is a reference to the
    session storage object, by calling
    appropriate methods you can get and set values of the fields in the form.
    Attribute names are create by adding 'A_' to your table's column names, so DEPTNO becomes
    A_DEPTNO
    Note, if you add a button to detail section of the form for each detail row then you'll have to
    examine p_instance value which will be set to a number indicating for which row button has been
    pressed. (1 for the first detail record, 2, 3, etc.)
    Example:
    bold - generated part
    italic - custom code
    procedure WWV_DETAIL_GENSYS_99
    p_block_name in varchar2,
    p_object_name in varchar2,
    p_instance in integer,
    p_event_type in varchar2,
    p_user_args in varchar2,
    p_session in out DNONKIN.wwa_api_module_session
    is
    begin
    declare
    my_action varchar2(4000);
    var1 integer;
    var2 varchar2(4000);
    begin
    my_action := p_session.get_value_as_varchar2(
    p_block_name => p_block_name,
    p_attribute_name => '_DETAIL_ACTION',
    p_index => p_instance
    if my_action = 'DELETE' then
    var1:=p_session.get_value_as_NUMBER(
    p_block_name => p_block_name,
    p_attribute_name => 'A_EMPNO',
    p_index => p_instance
    var2:=p_session.get_value_as_VARCHAR2(
    p_block_name => p_block_name,
    p_attribute_name => 'A_ENAME',
    p_index => p_instance
    --- Add a record to my log table
    insert into my_log values (var1,var2);
    end if;
    exception when others then
    my_error_handler_if_any;
    raise;
    end;
    end WWV_DETAIL_GENSYS_99;
    null

  • Form field values in query

    Hi,
    How to access a Form Field value [Inventory Transfer] in a query:
    Tried all these combination:
    $[http://940.18.1], $[http://$940.18.1], $[OWTR.Filler]
    What is the right format to access the field value & Is there a way to check [debug] what the values are ?
    Am using: SAP B1 2005B SP:00 PL:34
    Regards.

    First, Enable System information from the View Menu.  This will enable you to see the table name and the field name when you click on the field.
    Once you get this info, you can access it by $[[TableName.FieldName]]
    Remote the http:// that you see above
    $ [ ] are all required.
    Suda

  • How to Supply the form field values to a pdf form when loading it

    I am working on a web site project using Asp.net where the user has to fill in a PDF eform in acrobat reader. Then when he clicks on submit it returns to my asp.net app and the PDF form supplies the values back to my asp.net app. So my asp.net app has the values that were filled in the PDF form and can save those values and work with them...
    OK.
    What I need to know is when I am in my asp.net app, and the user wants to go back and reopen the same form, from my asp.net app..... then how do I pass back the values that were saved back to the PDF form??
    I know if I had a way to pass the values to the PDF form in some way then in the Doc.open or doc.load event of the form I could easily write a little javascript to plug in the values in the PDF form fields.
    but how do I pass those values from my asp.net app to my PDF form???
    thanks

    Thanks bcweed for all the info. I fixed my problem, it had something to do with LiveCycle Designer. If I just use Acrobat to add the form fields, then the FDF works fine. As to your situation with the SavToBuf, that happens to be the method that I am using, so I will just post my code here, and maybe you can pick out what is different from yours. The Response.BinaryWrite(FDFin.FDFSaveToBuf)is at the bottom.
    Sql = "SELECT * FROM Invoices" & WHERE
    Set Conn = Server.CreateObject("ADODB.Connection")
    Conn.Open Db_Conn_Str
    Set Rs = Server.CreateObject("ADODB.Recordset")
    Rs.Open Sql, Conn, adOpenStatic, adLockReadOnly, adCmdText
    If Not Rs.EOF Then
    End If
    Set FdfAcX = Server.CreateObject("FdfApp.FdfApp")
    Set outputFDF = FdfAcX.FDFCreate
    'VendorID = VendorName = VendorNum = InvoiceDate = PreparedBy = ""
    Gross = 0
    For I=0 To Rs.RecordCount-1
    If InStr(VendorID,Rs.Fields("VendorID")) = 0 Then
    VendorID = VendorID & Rs.Fields("VendorID") & ", "
    End If
    If InStr(VendorName,Rs.Fields("VendorName")) = 0 Then
    VendorName = VendorName & Rs.Fields("VendorName") & ", "
    End If
    If InStr(InvoiceNum,Rs.Fields("InvoiceNumber")) = 0 Then
    InvoiceNum = InvoiceNum & Rs.Fields("InvoiceNumber") & ", "
    End If
    If InStr(InvoiceDate,Rs.Fields("InvoiceDate")) = 0 Then
    InvoiceDate = InvoiceDate & Rs.Fields("InvoiceDate") & ", "
    End If
    If InStr(PreparedBy,Rs.Fields("PreparedBy")) = 0 Then
    PreparedBy = PreparedBy & Rs.Fields("PreparedBy") & ", "
    End If
    Rs.MoveNext
    Next
    Rs.MoveFirst
    outputFDF.FDFSetValue "VendorID",VendorID,False
    outputFDF.FDFSetValue "VendorName",VendorName,False
    outputFDF.FDFSetValue "InvoiceNum",InvoiceNum,False
    outputFDF.FDFSetValue "InvoiceDate",InvoiceDate,False
    outputFDF.FDFSetValue "PreparedBy",PreparedBy,False
    For I=0 To Rs.RecordCount-1
    outputFDF.FDFSetValue ("Line."&I), Rs.Fields("Amount")&"", False
    outputFDF.FDFSetValue ("Company."&I), Rs.Fields("Company")&"", False
    outputFDF.FDFSetValue ("GL."&I), Rs.Fields("GL")&"", False
    outputFDF.FDFSetValue ("CC."&I), Rs.Fields("CostCenter")&"", False
    outputFDF.FDFSetValue ("DocNum."&I), Rs.Fields("DocNumber")&"", False
    Gross = CCur(Gross) + CCur(Rs.Fields("Amount"))
    Rs.MoveNext
    Next
    outputFDF.FDFSetValue "Gross", Gross, False
    Rs.Close
    Set Rs = Nothing
    Sql = "UPDATE Invoices SET DatePrinted = '" & Now() & "'" & WHERE
    Conn.Execute Sql
    Conn.Close
    Set Conn = Nothing
    outputFDF.FDFSetValue "PrintDate", Date(), False
    outputFDF.FDFSetFile "http://admin/invoices/pdf/InvoiceAuthorization.pdf"
    Response.ContentType = "application/vnd.fdf"
    Response.BinaryWrite outputFDF.FDFSaveToBuf
    outputFDF.FDFClose
    %>

  • How to revise form field value in query and skip validation

    Hi all,
    I have a 10g form that has a field which I want to manipulate during query. I want to display a different value depending upon its orignal value. I did this with a Post-Query trigger on the field's datablock. However, now, when I attempt a new query, the form thinks I've changed the field (which I did). I want to change the field but trick Forms into thinking there were no updates. How do I do this? Note: the field is a list item that has a style of combo box.
    Thanks, Mike

    Ammad,
    The reason is that sometimes the list returns the record group's key value (the second column) instead of the intended value (in the first column). This is because the record group is based on a SQL query. There are some values which are no longer in the table queried by the record group, thus the key value is displayed. I would rather nothing be displayed. As of now, I display a message indicating that there is a problem with the LOV.
    I know about using a non-database form field. But I don't have any room left and I don't want to lay the non-database field on top of the database field and then have to enable/disable the two fields.
    A friend at work suggested setting update_permission to trick Forms. Tried it but not successful yet.
    Thanks, Mike

  • Disable Form Field

    I have created a form that is a mathematical worksheet. There
    are 3 types of fields: (1) fixed value, (2) user entry and (3)
    calculated results. In order to make the calculated result fields
    stand out their style is set to BOLD RED. The fixed value and
    calculated results fields have been "disabled" to prevent users
    from changing the values and also to force tabbing to skip over
    these fields. But disabling these fields makes them "gray" and the
    calculated results fields do not match the style (i.e. BOLD RED).
    Using "readonly" solves the style issue but then the user can
    access the filed and try to change it. How can I get around this?
    The site is at www.pacificproductsinc.com

    Hi -
    All you need to do is assign a class to the input field, that
    styles the
    text color red and bold, like so:
    (This goes before the closing </head> tag)
    <style type="text/css">
    <!--
    .red { color: #FF0000; font-weight: bold; font-size: .9em }
    -->
    </style>
    And then apply it to your input field, for example:
    <input type="text" disabled="true" value="$$$$"
    class="red">
    If you're using an external stylesheet, just add the ".red"
    class to the
    stylesheet.
    HTH, take care.
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    Proud GAWDS Member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================
    "tomgu" <[email protected]> wrote in message
    news:e8urb1$mih$[email protected]..
    >I have created a form that is a mathematical worksheet.
    There are 3 types
    >of
    > fields: (1) fixed value, (2) user entry and (3)
    calculated results. In
    > order to
    > make the calculated result fields stand out their style
    is set to BOLD
    > RED. The
    > fixed value and calculated results fields have been
    "disabled" to prevent
    > users
    > from changing the values and also to force tabbing to
    skip over these
    > fields.
    > But disabling these fields makes them "gray" and the
    calculated results
    > fields
    > do not match the style (i.e. BOLD RED).
    >
    > Using "readonly" solves the style issue but then the
    user can access the
    > filed
    > and try to change it. How can I get around this?
    >
    > The site is at www.pacificproductsinc.com
    >
    >

  • Get form field value using an offset

    I have a Form created using Perl that has a table with a row for each invoice in a large table. I display all the rows in a table and allow the user to edit some info for each record:
    for ($item_cntr = 0; $cntr < $record_cnt; ++$item_cntr)
    { print qq(<tr>
    <td><input type="text" name="c_freight_$item_cntr" value="$i_freight[$item_cntr]" onBlur="linetotal($item_cntr)" ></td>
    <td><input type="text" name="c_miscamt_$item_cntr" value="$i_miscamt[$item_cntr]" ></td>
    <td><input type="text" name="c_price_$item_cntr" value="$i_price[$item_cntr]" ></td>
    </tr>);
    I want to create a Function that is called when they change the Freight value and that causes the rows total Price (freight + miscamt = price) to be calculated again (without hitting a Submit button on the Form).
    I created a Function:
    function linetotal(whatline) {
         var fixed_freight = "document.editform.c_freight_" + whatline;
         var fixed_misc = "document.editform.c_miscamt_" + whatline;
    var linetotal = parseFloat(fixed_freight.value) + parseFloat(fixed_misc.value);
    document.editform.c_price_whatline.value = linetotal; } }
    So, if the first row in the table is 0, then the Function is passed "0" and should get the value of the form fields:
    'c_freight_0' and 'c_miscamt_0' and set 'c_price_0' to a new value in the form.
    The fixed_freight is showing that the string it has is correct, but it does not get the value from the form. Any ideas?

    DrClap wrote:
    DrLaszloJamf wrote:
    DrClap wrote:
    Although there are [Java sites|http://www.javaranch.com/] which do have an [HTML and Javascript forum|http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&f=20].
    Don't forget the free hugs forum there, too!
    You must mean [this one|http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&f=44].
    Oh yeah. Are you a JavaRanch regular, Dr.C? I was for a while, but not recently.

  • How to grap the disable text field values

    Dear All,
    i have a lov,
    in this lov,i create 3 mappings for display those return values in text iput fieldss
    i want to grab those text fields valuess
    and assign those those values to another vo(table)
    those grapping fields are not changed thats y i kept in disable mode
    that time whenever any action is occure then disable field values are gone
    that time i pass only null to vo.
    but i want to grap the value when i kept those fields are in disalbe alsooo
    how can i grap those valuess.

    you have to create item of type form value & create lOV mapping so that the value will not get lost
    Thanks
    --Anil                                                                                                                                                                                                                                           

  • How can I add form field value to the file name in save as dialog box

    I do not want the form to be saved automatically, just want the form to auto populate the "file name" only.
    A little background on the forms I want to use:  My company has 70 retail outlets, I'll use one of our pdf forms called an "Incident Report" as an example.  I would like for a store manager to be able to complete the form, then email the form to the main office (I already have javascript to add field values and form name to the email subject line), once the main office receives it, I want for them to be able to file the pdf electronically on our server.  We have mutliple forms that we use so I do not want any of the forms to automatically save anywhere, (at this time anyway) I just want the office personnel to be able to click "save as" (or whatever they will need to click) and the form automatically add certain field values from the pdf they have received, of which will be different each time the form is sent to the office (Date, store #, employee name etc.) in addition to the name of the form in the "File name" of the "Save As" dialog box.  The main office employees will decide into which server file the pdf should be saved.
    I'm using Acrobat 8 professional, the stores and office personnel use Adobe reader.
    One little note:  We currently print and file a lot of paper on a daily bases, as soon as I can get this to work, we are going green.
    Me and a lot of trees in this will really apprecitate any help you can give with this!  :-)

    You might want to take a look at the document "Developing Acrobat Applications Using JavaScript" (js_developer_guide.pdf) which is part of the Adobe Acrobat SDK, which can be downloaded here. Read the "Privileged versus non-privileged context" (p. 45ff.). You will find an example for "Executing privileged methods in a non-privileged context". Should be almost exactly what you are looking for.
    Small Outline: For security reasons ("the user always has to know what's going on") you are not allowed to use the "Doc.saveAs"-method without the user permission (--> in a non-privileged context). In order to reach the goal of a privileged context you can use a trusted function. You do this by creating a JavaScript file (*.js) in either the Application-JavaScript-Folder (default location on Windows systems: "%ProgramFiles%\Adobe\Acrobat 10.0\Acrobat\Javascripts") or the User-JavaScript-Folder (default location on Windows systems: "%AppData%\Adobe\Acrobat\10.0\JavaScripts"). Add the following content to the new file:
    myTrustedBrowseForDoc = app.trustedFunction( function ( oArgs ) {
         app.beginPriv();
              var myTrustedRetn = app.browseForDoc( oArgs );
         app.endPriv();
         return myTrustedRetn;
    myTrustedSaveAs = app.trustedFunction( function ( doc, oArgs ) {
         app.beginPriv();
              var myTrustedRetn = doc.saveAs( oArgs );
         app.endPriv();
         return myTrustedRetn;
    The developer guide actually wants you to add this content to the existing "config.js" file. I recommend creating a new file, since its easier to deploy in a network. Either way, every client/user who needs to be able to save documents this way, needs this JavaScript Code in his Application/User-JavaScript-Folder.
    Within the Acrobat Document, which you want to obtain a certain file name, you can now use the trusted functions "myTrustedBrowseForDoc" and "myTrustedSaveAs" to store the file. To call the trusted functions and deliver the file name you can either you use a form field (button) or you add a new menu item. Add the following JavaScript Action to the button/menu item and change "Roller Coaster" to the name of the field which contains the value which you want to become the new file name:
    var fileName = this.getField("Roller Coaster").valueAsString;
    try {
         var oRetn = myTrustedBrowseForDoc({bSave: true, cFilenameInit: fileName + ".pdf"});
         try {
              myTrustedSaveAs(this, { cPath: oRetn.cPath, cFS:oRetn.cFS });
         catch(e) {
              console.println("Save not allowed, perhaps readonly.");
    catch(e) {
    console.println("User cancelled Save As dialog box");
    Good Luck!

  • Change hidden form field value

    hi everyone...i'm hoping someone can help me figure out how
    to change the value of a hidden field in a form. i have a page
    setup where users pay a website fee. since the fee is always the
    same, i have the amount setup in a hidden field in my form. my
    question is, i'd like to use promo codes. so i'll add a box in my
    form that says "enter promo code." then there's a link in the form
    that says "apply promo code." i'm thinking that link needs to
    refresh my page and take the value entered by the user in the promo
    code form field and place it in the url. that way i can write a
    cfif statement to change the value of the hidden field. the problem
    is, i can't figure out how to "refresh" the page and take the value
    out of the form field and place it in the url. hope this makes
    sense. maybe someone can offer a better way to do this? i'd truly
    appreciate any help anyone can offer. thanks!

    You would change the amount on the processing page with
    ColdFusion (after the form is submitted), but prior to the CFHTTP
    call. You really should familiarize yourself with CFHTTP (check
    online documentation). It sounds like it is exactly what you need.
    The format of your application would be something like:
    promocode.cfm:
    ====================
    <form name="someform" method="post"
    action="process.cfm">
    <input type="text" name="name">
    <input type="text" name="address">
    <input type="text" name="promocode">
    <input type="hidden" name="order_price"
    value="#OrderValue#>
    </form>
    process.cfm
    ======================
    <!--- Apply promo code --->
    <cfif form.promocode eq "Promo1">
    <cfset form.order_price = .75 * form.order_price>
    </cfif>
    <cfset sales_tax = .1 * form.order_price>
    <!--- Send data to processor gateway --->
    <cfhttp url="https://www.myProcessor.com/gateway/"
    method="POST">
    <cfhttpparam type="FORMFIELD" name="price"
    value="#form.order_price#">
    <cfhttpparam type="FORMFIELD" name="tax"
    value="#sales_tax #">
    <cfhttpparam type="FORMFIELD" name="cc_number"
    value="#cc_num #">
    </cfhttp>
    <!--- Check response --->
    <cfif FindNoCase("Success Text", CFHTTP.fileContent)>
    Good Response
    <cfelse>
    Bad Response
    </cfif>

Maybe you are looking for

  • The computer I signed up with ITunes is trashed. How do I transfer my "main" Itunes Account to a new computer?

    The computer I signed up with ITunes is trashed. How do I transfer my "main" Itunes Account to a new computer?

  • Volume buttons no longer work in 10.4.8

    I just updated to 10.4.8, via Software Update. I have tried pressing my volume keys on my Apple Keyboard that shipped with the iMac, and the little grey box comes up with the volume status, and it moves as I press the volume up/down, but the volume i

  • Java.lang.NegativeArraySizeException in comm.channel

    Hello, have this error in RWB for comm.channel for file adapter. java.lang.NegativeArraySizeException We don´t have something special in the adapter of the comm.channel. This is the source directory: $DATA1.SSBWSLS Any idea where this comes from? Bes

  • Transaction iView - NOHEADEROKCODE=1

    Hi , I want to hide the command box by setting the parameter NOHEADEROKCODE=1 . I believe this can be set in the ITS service parameters. Since this will change the setting for all the iViews rendered via SAP GUI for HTML , I wanted to know if there i

  • Production Orders Controls by Work Center

    Hi PP Gurus! We have to check the production orders by work center. Can we do it? If yes, could you inform us which conditions are necessary to do it? Our release is 4.6C and we are using PP-Manufacture discrete. I would like to thank you for help us