Pass a variable from a link to a form of mail

Hello

I have a site with several pages (plain html) for products, on each page, there will be a link "order".

When you click on the link it should achieve a simple ASP email form so that the person can fill in their data (it is a very simple e-commerce if you want), but the form should also send the data / name (invisible) produced with it and display it on the contact form, ex 'you make an order for product [Product]. " ', please enter your details below.

In short, how to pass a variable from the link on the page of the product to the contact page (and display) as well as on sending it delivers the fields of seizure of the user with the name of the hidden product.

Thanks in advance,

G.L.

> I do not know how to read the query string, then

> he spent the form

To assign the query string value to a local variable

DIM productID

productID = Request.QueryString ("productID")

To include in the form:

Tags: Dreamweaver

Similar Questions

  • How do I pass a variable from the edge animate to an external JS?

    I need to pass a variable value of edge animate to an external JS file. How can I do?

    Not sure if this is the best way, but works

    The value of the variable as a property of a global variable

    As

    SET

    window.myVar = 'your value. "

    AdobeEdge.myVar = 'your value. "

    Read

    window.myVar

    AdobeEdge.myVar

  • Can I pass a Variable from prompt dashboard to a chart title

    Hi all, I am very new to this tool. Here's the scenario. I have two region invites dashboard and the city as guests, I'm able to pass the variables as when the condition in the chart, but at the same time I want to change the header of the graph to show what region and city, the user has chosen. I'd appreciate any help.

    Thank you, Mr Kontos

    Published by: user10863017 on January 27, 2009 07:04

    Since you're relatively new to the forum - may I suggest you distribute points / useful answers? We would appreciate it thank you

  • Pass several variables in graphical link

    I am able to spend 1 value everywhere by clicking a link on a chart, but I would like to pass 2. Any ideas? Here's what I have so far...

    SELECT ' f? p ='|| : APP_ID | » :5:'|| : APP_SESSION |': P5_HOST_NAME :'|| link HD. HOST_NAME

    Try

    SELECT 'f?p='|| :APP_ID ||':5:'|| :APP_SESSION ||'::::P5_HOST_NAME,P5_OTHER_ITEM:'||hd.host_name link || ',' || hd.some_other_value 
    

    CITY

    Published by: city has on January 7, 2010 12:34

  • Variable format using link in the form of flash format

    Greetings

    Everything seems like a simple question, I seem to be missing something here. I have a form (in flash format) which calculates a value when a form element is selected. The value is actually a monetary value. Output the value of the variable in a cfformitem but I con ' t understand how diplay as a dollor appreciates, in addition, a value with zeros to the right when the value is a full dollar.

    For example:

    The amount of $1,00 displayed as 1 (I add the dolloar sign)

    or $23.80 displayed in 23.8

    Code below:

    < cfif

    IsDefined()"Form.Submit"()>

    Total cost:

    < cfoutput > #form. TotalCost #< / cfoutput >< br / >

    < / cfif >

    < cfform

    format ="Flash">

    < cfformitem

    type="script">

    var cost = ";

    var p1 = 40.50;

    var p2 = 29.75;

    service cost (): Void

    {

    load = 0;

    the share price

    If {(specialneeds.value is true)

    If {(Session1.value == 1)

    load (load + p2) =;

    }

    If {(Session2.value == 1)

    load (load + p2) =;

    }

    If {(Session3.value == 1)

    load (load + p2) =;

    }

    }

    price double

    else {}

    If {(Session1.value == 1)

    load = (load + p1);

    }

    If {(Session2.value == 1)

    load = (load + p1);

    }

    If {(Session3.value == 1)

    load = (load + p1);

    }

    }

    }

    < / cfformitem >

    < cfinput type ="checkbox" label ='Sharing'? nom =« specialneeds » valeur =« vrai » vérifié =« Non » onClick =« cost() » / >

    < cfinput type="checkbox" label="Day 1" value="1" name="Session1" onClick="cost()" id="Session1" />

    < cfinput type="checkbox" label="Day 2" value="1" name="Session2" onClick="cost()" id="Session2" />

    < cfinput type ="checkbox" label ="Day 3" value ="1" name ="Session3" onClick ="cost()" id ="Session3" / >

    < cfformitem link ="Total cost: ${costs} ' style =" color: red; " type ="text"> < / cfformitem >

    < cfinput type =« cachés » id =« PrixTotal » nom =« PrixTotal » lier =« {charge} » / >

    < cfinput type ="submit" id ="submit" name ="submit" Label ="Submit" value ="Submit" / >

    < / cfform >


    Any ideas how I can get around this?

    Thanks for any input.

    As far as I know, Actionscript is not as formatting numbers. You will need to make your own. Something like this:



    costs of var = 0;
    var integerPart = 0;
    var decimalPart = 0;
    var decimalPartWithoutPoint = '0 '.
    service cost (): Void
    {
    load = 1;
    load = Math.Round (load * 100) / 100;
    integerPart = Math.floor (load);
    decimalPart = load - integerPart;
    If (decimalPart! = 0) decimalPartWithoutPoint = decimalPart.toString (.split(".")) [1] ;

    If (decimalPart == 0 | decimalPartWithoutPoint.length == 1) fees = integerPart.toString () + "." + decimalPartWithoutPoint + "0";
    }



  • How to pass Variables from the Source (SQL) to tab target (JavaBin Shell) in ODI knowledge Modules

    Hi all

    My name is Alessandro and I am new to the community.

    I have a problem with the KM stage custom when I try to pass the variable from the source to the target.

    The ODI version tha I use is the 11.1.1.5.0.

    I created a stage KM following the instructions of the metalink document (Doc ID 728636.1).

    But when I insert the value of the variable in a test table, the value in a table is the name of the variable.

    Where I'm wrong?

    I am doing thi.

    (1) create a step in my goal of shell sql source and javabin KM. In the source tab I get the value of a query, and the name "LAST_UPDATE" column.

    In the target tab, I attribute to the variabile jv_last_update the value of the variable #LAST_UPDATE, with the same name in the selection column.

    source_tab.jpgtarget_tab.jpg

    (2) I created a second stage where I insert into a table of the value of the variable jv_last_update (to debug the value of the variable):

    insert_step.jpg

    (3) when I try to see what I have in the table, the value of any line is the name of the variable "#LAST_UPDATE"; ".

    result_table.jpg

    Thanks in advance


    Alessandro

    Hi Alessandro,.

    Interesting... I have not read the Oracle document you sent yet, but one thing I can guarantee you, is that it doesn't. If Oracle says that it should work, maybe it's a bug, or maybe he has changed on new versions of ODI. I am also on ODI 11.1.1.5 and I tried many different ways to pass SQL results to variables of java with all sorts of different labels, but none of them worked for me as well. But I managed to use it in a different way, so please see below if it matches your needs:

    We are just one step. The second is just to show that it worked:

    In the first step, on the source tab, select Oracle and point to the logical schema that you want to run the query:

    On the target, note the following Java BeanShell code with the SQL that you want to run:

    Now your variable must have the correct value of your SQL. To test it, I just write a comment 'Raise' to Jython in the second step:

    The result is 'X' as expected:

    It will be useful.

    Thank you!

  • Passing variables from flash to php script - does not!

    Hey everybody. I was wondering if someone could help me. I use as2 to pass a variable from flash to my php and nothing happened! Here's the action script code that I put on my button:

    (release)

    {

    Amount.Text = 5;

    Form1 = new LoadVars();

    Form1.amount = amount.text;

    form1.sendAndLoad ("http://mywebpage.com/test.php", rise, "POST" ');

    }

    The amount of '5' is now in a dynamic text field with the variable name and instance of amount (which, in the future, will be hidden). This works very well when the button is clicked. What I'm trying to do without success, is to get this value of '5' to my test.php and did echo and it happens simply not . It comes to my php script:

    <? PHP

    $form_inp = $_POST ["amount"];

    If ($form_inp == "'")

    {

    Print "nothing entered < br >".

    }

    on the other

    {

    Print "you entered: $form_inp";

    }

    ? >

    I'm getting "Nothing entered" every time.

    I've tried different ways for the amount.text such as:

    (release)

    {

    Amount.Text = 5;

    Form1 = new LoadVars();

    Form1.amount = this. Amount.Text;

    form1.sendAndLoad ("http://mywebpage.com/test.php", rise, "POST" ');

    }

    and

    (release)

    {

    Amount.Text = 5;

    Form1 = new LoadVars();

    Form1.amount = this ._parent. Amount.Text;

    form1.sendAndLoad ("http://mywebpage.com/test.php", rise, "POST" ');

    }

    etc...

    I also tried to change the variable name in the function sendAndLoad amount to form1 as follows:

    (release)

    {

    Amount.Text = 5;

    Form1 = new LoadVars();

    Form1.amount = amount.text;

    form1.sendAndLoad ("http://mywebpage.com/test.php",form1, "POST");

    }

    and still nothing.

    In my php file, I even tried the GET instead of the POST and it always turns out nothing.

    <? PHP

    $form_inp = $_GET['monto"];

    If ($form_inp == ")

    {

    Print "nothing entered < br >".

    }

    on the other

    {

    Print "you entered: $form_inp";

    }

    ? >

    Additional info:  I put the .swf file and at the same level-.php file in the same folder on my server just to be safe, and the dynamic amount.text text field and button are at the same level in the .swf file.

    Anyone can shed some light on my situation... pretty please? I'm out!

    Thank you very much.

    Ok. So, do not let this thread unanswered, after a looooooong of trial and error, I went to as3 and began to do some testing. It turned out that the register_globals was off on my site and that is why I did not receive the variable passed with the $_POST in my php. So what I finally proposed is the following:

    In my fla/swf doc:

    to import flash.net.URLVariables;

    import flash.net.URLRequest;

    import flash.net.sendToURL;

    var urlVariables:URLVariables = new URLVariables;

    urlVariables.amount = "5";

    var urlRequest:URLRequest = new URLRequest ("http://mirador.mx/oaxaca/disco/receive_test.php");

    urlRequest.data = urlVariables;

    sendToURL (urlRequest);

    In my php file:

    $amount = $_GET ["amount"];

    echo "' AMOUNT IS:". " $amount;

    Now for all of you who have been following this thread, or which can be read in the future, I know that we we started with AS2 and finishing here with AS3 but I didn't know why it worked until I I'm so fed up I've changed in AS3 to see if I could understand. I, like many others I guess, felt a bit intimidated with AS3 and was unwilling to give it a try, but I highly recommend that you dive into it because once get you a grip on it is much more functional.

    So I m going to mark this thread as a response and hope it saves someone else all the time and the frustration that he made me... Good programming!


  • How to pass a variable to a sub - VI a vi in real-time?

    The main calls a Subvi where there is a loop for. is possible to pass a variable from inside the loop for handmade in real-time, this is while the for loop is still running?

    I tried with a global variable. The global itself is updated, but if I put for the most part the global variable with a wire to an indicator, the indicatore is not updated until what the sub that VI has not completely passed control to hand.

    Is it possible to do?

    If you are running in windows, see example vi

  • [CS4/JS/AS] doScript pass variable from JS to as.

    I have this doScript I want to pass a variable (theFold) to the AppleScript, he appealed:

    #target "inDesign - 6.0.

    var theFold = ["Spotlight"]

    var myScriptFolderPath = ("" HD:Users: user: Desktop Macintosh: unlock V3.app: "");

    app.doScript (file (myScriptFolderPath), ScriptLanguage.applescriptLanguage, theFold);

    AppleScript is:

    adding property: "Macintosh HD:Users: user: Desktop:

    on the run (fromJava)

    tell application "Finder".

    set name2 to (fromJava text)

    set theName to add & name2 as alias

    my openSez (theName)

    end tell

    end of race

    on openSez (theName)

    tell application "Finder".

    updated folderContents (items in folder theName)

    if (folderContents count) > 0 then

    -scroll through each item in the folder

    repeat with i from 1 to count the folderContents

    put carryThrough (section i of folderContents)

    -if this is another folder, then recurse

    if carryThrough is 'file' then

    set theName to (carryThrough as string)

    my openSez (theName)

    else

    is locked to carryThrough is true then

    locked carryThrough false game

    end if

    end if

    end repeat

    end if

    end tell

    end openSez

    Is it possible to pass a variable when calling a script from a path?

    I get the error "cannot make < script > in Unicode text.

    Thanks for any help or comments.

    Peter

    The variables are passed to a variable called arguments. You don't need an execution handler or anything like that, just:

    Name2 ((point 1 deles de arguments) text value)

    end of race

  • pass variables from .swf to .swf?

    I'm creating a game using Flash CS5 and AS3. The game will consist of two towers. In the first round, the player entered a name for their character, makes decisions about the appearance of their character, buys and sells products, etc.. Their desired name, selected appearance and the balance of the bank account are stored as variables. When the player reaches the end of the 1st round, they click a button to start round 2.

    I would like to develop 2nd round in a flash file separated due to the complexity of the 1 round file. However, I would like the 1st round to the cycle variables 2. 1st round is currently a .swf file embedded in an html page.

    What is the best strategy to pass the variables to round 2? I watched FlashVars and channels requests. I thought to load round2.swf into the same html as round1.swf page. I thought to take the player of round1.html to round2.swf, which would be integrated in round2.html. I cannot hardcode the values of the variables in a query string, because they are different for each user. Does it matter?

    I could use some general advice on the best approach and specific tips on the best encoding solution. So far, I've tried pieces of different options, but nothing went completely around. Thank you!

    No, you do not have a special server to use sharedobject.  Just create an instance at the beginning of each swf using the same first parameter:

    var so:SharedObject = SharedObject.getLocal ("yourgame", "/");  run only once, by swf

    so any time you want to save the data, use:

    so. Data.Name = yourname_tf.text;

    so. Data.score = yourscoreVar;

    so. Flush;

    any time you want to retrieve data, use:

    yournameVar = so.data.name;

    youscoreVar = so.data.score;

    //////////////////////////

    your different SWF will share the same data as long as first parameter ("votrejeu") is the same when you instantiate a sharedobject

  • Problem passing variable from PHP to Flash

    I'm moving a single variable from PHP to Flash. However, I can't quite make it work.

    In a PHP file named data.php, I use:
    "$query = SELECT SUM (Debt) As Total OF THE debtclock;
    $result = mysql_query ($query);
    $debt = mysql_result ($result, "Total");
    Print "debttotal = $debt";

    In Flash 8 Actionscript, I use:
    loadVariables("data.php","0");

    If I understand correctly, this should make the variable available in Flash debttotal.

    Can someone tell me where I'm wrong?

    Try this:
    loadVariables ("data.php", _level0);
    The 2nd parameter specifies the target that receives variables, '0' is not a valid value for this. With _level0, variables will be found in the root timeline, so you can access it with _root.debttotal (from _level0) or _level0.debttotal (on a different level than _level0).

    Welcome,
    blemmo

  • pass variables from flash to authorware

    Hello

    If I have a button in flash and want to send a string of varibales to authorware:
    -example code-
    Flash code.
    {We (Release)}
    fscommand ("variable", "var1, var2, var3, var4")
    }
    Authorware code.
    EvalAssign (EventLastMatched [#command] ^ ": = EventLastMatched [#args]")
    Trace (EventLastMatched [#args])
    ActionFuntion (EventLastMatched [#args])
    Quit()

    In the authorware file, I would like to highlight this string and breakit in authorware and apply it to the ActionFuntion.

    Help, please.

    Thanks daniel

    If you have a string "var1, var2, var3, var4" you want to get each
    element of?

    Repeat with i = 1 to LineCount (EventLastMatched [#args], ',')
    lines : = GetLine (EventLastMatched [#args], I, I, ',')
    end repeat

    Must establish each element of the sting in a separate list item in the
    linear list of lines. I really don't understand what you are tying to
    do, so I use a list here for demonstration purposes, but perhaps you
    you want to replace the second line with:

    ActionFunction (GetLine (EventLastMatched [#args], i, i, ','))

    Who will call ActionFunction each time that the loop works and send it to the
    next element in the chain. In your case, it will call...

    ActionFunction ("var1")
    ActionFunction ("var2")
    ActionFunction ("var3")
    ActionFunction ("var4")

    -What are you trying to achieve?

    Mark

    deerowbear wrote:
    > Sorry that I misunderstood. When I Trace (EventLastMatched [#args]) in authorware I have
    > get var1, var2, var3 var4. The function call an external dll, passing those
    > variables off the coast and an ActionFunction in a dll file.
    >
    > Thanks daniel
    >
    >
    >
    >

    --
    ------------------------------------------------------
    Multimedia synchronization command Authorware:

    www.authorwarextras.co.UK--> orders

    Synchronization of media with ease!

    EuroTAAC eLearning 2007
    www.eurotaac.com

    www.AuthorwareXtras.co.uk
    www.freelists.org/List/flashelearning

  • How to pass a variable to the nearby operator

    Hello! does anyone know how can I pass a variable to the proximity operator?

    with this query variable1 and variable2 are read as words, not as variables.

    SELECT *.
    FROM t1
    WHERE CONTAINS
    (essay, "near ((variable1, variable2), 1)'") > 0;

    Thank you!

    Best regards
    Sara

    You may not use a link within a string variable. This is not a restriction of Oracle text, it's just the way bind variable work in Oracle.

    You can build a string literals and variables, although, like this:

    SELECT *
    FROM t1
    WHERE CONTAINS
    (test, 'near(('||:variable1||', '||:variable2||'), 1)') > 0; 
    
  • Download the file from the link in the report

    I built a custom file upload/download capability that works very well. The UPLOADED_FILES table has 2 columns that are used to access the contents of the file - a sequence number of a related table entry and a varchar2 file type. I have a built procedure that downloads the contents of my table UPLOADED_FILES. Now, I would like to be able to display a link in my report which allows the user to download the appropriate file. I can't get the right format. I need to pass 2 variables to the procedure - a (p_file) is a column name in the report, while the other (v_type) is a static string value "SUMMARY."

    My procedure is:
    create or replace PROCEDURE download_my_file
      (p_file in number,
       v_type in varchar2) 
    AS
            v_mime  VARCHAR2(48);
            v_length  NUMBER;
            v_file_name VARCHAR2(2000);
            Lob_loc  BLOB;
    BEGIN
            SELECT UPLOAD_MIME_TYPE, upload_CONTENT, UPLOAD_NAME, DBMS_LOB.GETLENGTH(upload_content)
                    INTO v_mime,lob_loc,v_file_name,v_length
                    FROM uploaded_files
                    WHERE NOTIFICATION_SEQ_ID = p_file and
                          upload_type = v_type;
                                     owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
     
                            htp.p('Content-length: ' || v_length);
                     htp.p('Content-Disposition:  attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
                         
                    owa_util.http_header_close;
                 
                    wpg_docload.download_file( Lob_loc );
    end download_my_file;
    I tried
    javascript:popupURL("DOWNLOAD_MY_FILE?p_file=#NOTIFICATION_SEQ_ID#&v_type='SUMMARY'");
    and I tried
    <a href="#OWNER#.DOWNLOAD_MY_FILE?p_file=#NOTIFICATION_SEQ_ID#, v_type='SUMMARY' ">Download Summary</a>
    in the URL of the link in the column to the report item. Neither work. Can someone help me fix this please?

    Hello

    Sorry, it is just spotted 'in the URL field. You should put in the Expression of HTML and remove all the settings link. The & works ok in there.

    Andy

  • Send variables from flash AS2 to php mySQL

    Hi I have a question to adobe. So I finally created a system to connect / register with php and mysql and flash as2. That works, and here's the link:lumosityentertainment.hostei.com/PhPLoginSystem.swf

    But I have a question. How to send variables from flash as2 to my mySQL database? And then how to load their MySQL to flash as2? Also when variables get edited or changed as if I had 6 gold and then now I have 7 but how do send flash that updated data in my database? I know you use php and other things but I have examples of easy php and codes as2? I'm a beginner in php, but I know a decent amount of AS2. I searched all over google and adobe for the answer forums, but none of them really helped. I am currently working on a flash game on my site and I'm doing so that players can save as their gold, armor, weapons etc and then load them by logging into their account.  Here is my game that I currently use cookies to save the data:

    lumosityentertainment.enjin.com/playfantasydreams

    var sendLV:LoadVars = new LoadVars();

    var receiveLV:LoadVars = new LoadVars();

    receiveLV.onData = function(src:String) {}

    trace (SRC);  or be it for debugging

    }

    sendLV.somedata = somedata;

    sendLV.someotherdata = someotherdata;

    sendLV.sendAndLoad ("yourphp.php", receiveLV, "POST");

    /////////////////////////////////

    ////

    PHP

    .

    .

    $somedata = $_POST ['somedata'];

    $someotherdata = $_POST ['someotherdata'];

    write to your sql

    {if (whatever)}

    echo "success";

    } else {}

    echo "failed."

    }

    /////////////////////////////////

    PS when you use the adobe forums, please check the useful/correct, if there is.

Maybe you are looking for