Add form variable as a URL?

I'm trying to build a page that inserts a record in a SQL
database, that goes to a success page when the insert is successful
so that the user can see the unique ID created from information
entered back on the first page.
I need to modify this line on the page with a request form.
This line is from the Insert Record function created by DW.
var MM_editRedirectUrl = "MediaRequestComplete.asp?FN=xxx";
So that the xxx is replaced with the value that a javascript
function on the page would get from "form1.filename.value".
This either isn't possible or I just can't fugure out the
right syntax.
If you know how to do this, or can say for sure that it can't
be done, please let me know?
TIA
PeterH

if - in your form declaration - you change your method to GET from POST, it will append the form data onto the URL string instead of putting it in the request header. For instance, if you have a form with an input called THE_INPUT, and you submit to a servlet (or script of some kind or whatever) when the value of that text box is "foo", the URL will be:
http://www.yourdomain.com/yourservlet?THE_INPUT=foo
But, if you use the POST method, the URL will just be:
http://www.yourdomain.com/yourservlet
Is that what you meant?

Similar Messages

  • Want to pass Applet form variables without showing it on URL Location

    I am running one applet with some form variables. After submit I want to pass those to .asp file to store into database.
    If I use URL method then all are getting displayed on URL location of browser which I do not want. I want to pass many form variables to another .asp file, so it may not be good also.
    What is the best way of doing it ? Need urgent help about it.

    I tried following code using URL Connection Object, Code is running fine in IE and Appletviewer, but not running in Netscape.
    Following is the code:
    There is an applet with form. After Submit button, The form variables will be send to ASP script where I am storing it into database. In Netscape the server connection is made (blank record is getting created) but data is not passed.
    public void actionPerformed(ActionEvent event) {
    try{
    ByteArrayOutputStream byteStream = new ByteArrayOutputStream(512);
    PrintWriter out = new PrintWriter(byteStream, true);
    String postData = "firstName=manisha";
    out.print(postData);
    out.flush();
    URL dataURL = new URL("http://manisha/appletexamples/confirm-px.asp");
    URLConnection connection = dataURL.openConnection();
    connection.setUseCaches(false);
    connection.setDoOutput(true);
    String lengthString = String.valueOf(byteStream.size());
    connection.setRequestProperty ("Content-Length", lengthString);
    connection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
    byteStream.writeTo(connection.getOutputStream());
    BufferedReader in =
    new BufferedReader(new InputStreamReader(connection.getInputStream()));
    String line;
    while((line = in.readLine()) != null) {
    System.out.println("line: " + line);
         } //while
         in.close();
    } //try
    catch(Exception e){}//catch
    }//action performed
    My ASP Code
    <%
    Set conn = Server.CreateObject("ADODB.Connection")
    conn.Open("DATABASE=phptestdb;DSN=phptestdsn")
    %>
    <HTML>
    <HEAD>
    <TITLE> A Sample Program </TITLE>
    </HEAD>
    <BODY>
    <%DIM fname
    fname = ""
    fname = Request("firstName")
    response.write ("fname : " & fname)
    qrystr1 = "insert into applettesttable (fname) values ('" & fname & "')"
    conn.Execute qrystr1
    conn.Close
    Set conn = Nothing
    %>
    </BODY>
    </HTML>

  • How to pass a form value  as a url parameter??

    I have following form and I want to pass the selected value of the drop down choice in as one of the parameter in the URL. How can I do that ??
    something like proposalid that I have done in the url, I want to pass the selected value of the variable doc_id, when I click the Link button
    <form name = "link" method="POST" enctype="multipart/form-data" action="<%= request.getScheme() %>://<%= request.getServerName() %>/webAppCore/common/add_doc.jsp">
    <table>
         <tr> <td class="tableContent"> Doc Identifier: </td>
    <td class="tableContent"> <SELECT name="doc_id">
    <%
         Vector v = iddata.getDocumentIdList(tabName);
         //out.println(v);
         if (v != null && v.size() > 0) {
              for (int i = 0; i < v.size(); i++) {
              Hashtable hash = (Hashtable) v.elementAt(i);
    %>
    <OPTION selected name="id " value="<%=(String)hash.get("DOCUMENT_ID")%>"> <%=(String)hash.get("DOCUMENT_NAME")%></OPTION>
    <% } } else {%>
         <OPTION selected name="id " value="test"> No DocIDs</OPTION>
    <%}%>
    <tr> <td colspan = "2">
         <table border="1" width="200">
              <tr> <td> <input type="text" name="link_file" size="30" value=""/></td><td> <INPUT TYPE=button VALUE="Link..." onClick="window.open('<%= request.getScheme() %>://<%= request.getServerName() %>/webAppCore/common/link.jsp?proposalid=<%=proposalID>','mywindow','toolbar=no,location=no,directories=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300,left=20,top=20');"></td> </tr>
              <tr> <td colspan = "2">
                   To Create Links: <br>
                   * Select Doc Identifier
                   * Click on Link...to select file within eFile. <br>
                   * Click Add to create the Link <br>
              </td> </tr>
         </table>
         </tr>

    if - in your form declaration - you change your method to GET from POST, it will append the form data onto the URL string instead of putting it in the request header. For instance, if you have a form with an input called THE_INPUT, and you submit to a servlet (or script of some kind or whatever) when the value of that text box is "foo", the URL will be:
    http://www.yourdomain.com/yourservlet?THE_INPUT=foo
    But, if you use the POST method, the URL will just be:
    http://www.yourdomain.com/yourservlet
    Is that what you meant?

  • Help submitting data to server as a form instead of a url post

    I have a flex app that allows users to upload to our website.  When the user  uploads their files, i need to make a call to the server to see if their allotted  diskspace as been exceeded or not (I'm currently using an HTTPService that replies back  either true or false).  Everything is working great except when a large quantity  of files are uploaded at once.  I'm sure that the error is being caused by the  url query string being truncated because it's too long.  I'm currently  submitting my variables like this:
    var params:Object = new Object();
            params.FileList = FileList;
             getRequiredUploadFeeRPC.send(params);
    Does anyone have an example or an idea of how i can submit this data as a form variable instead of a URL?  My upload app doesn't actually have a form in it so i would be looking for a way to add my params to an array then submit as a form variable instead.  Any pointers would be great.
    Thanks!

    Thanks Kokorito!!!  I love it when the solution is so elegant!

  • Trying to move a list of form variables to session variables of the same name

    I am trying to move a list of form variables to session variables of the same name and I am having a lot of trouble.
    I have never had to post of this forum with a language question in all the 10 years I have been using ColdFusion. I was a qa Engineer @ Allaire/Macromedia back when it was going from one to the other. I have a pretty good grasp of the language.
    I have software that runs off a list. The fieldnames are variable and stored off in an array. It's survey software that runs off a "meta file". In this example; I have the number of fields in the survey set to 12 in the "metafile". I have each field declared in that file in array Session.SurveyField[1] and the above loop works fine. I include this "metafile" at the start of the process.
    I cfloop around a struct and it works wherever I have needed to use it; such as here - writing to the database for example;
    <CFQUERY NAME="InsertRec" DATASOURCE="Survey">
    INSERT into #variables.SurveyTableName#
    (EntryTime
    <cfloop from="1" to="#Session.NumberOfSurveyFields#" index="arrayindex">
    ,#Session.SurveyField[arrayindex]#
    </cfloop>
    <!--- EXAMPLE OF WHAT THE ABOVE GENERATES
    ,q01_name,q02_AcadTechORNA,q03_Water,q04_FirstAid,q05_CPR,q06_LifeGuard,q07_AED
    ,q08_ProjAdv,q09_Color,q10_SantaClaus,q11_Supervisor,q12_SupervisorOpinion --->
       VALUES
        ('#EntryTime#'
    <cfloop from="1" to="#Session.NumberOfSurveyFields#" index="arrayindex">
    <cfset thisname = "Session." & Session.SurveyField[arrayindex]>
    ,'#evaluate(variables.thisname)#'
    </cfloop>
    <!--- EXAMPLE OF WHAT THE ABOVE GENERATES
    ,'#Session.q01_name#','#Session.q02_AcadTechORNA#','#Session.q03_Water#','#Session.q04_Fi rstAid#'
    ,'#Session.q05_CPR#','#Session.q06_LifeGuard#','#Session.q07_AED#','#Session.q08_ProjAdv# ',
    ,'#Session.q09_Color#','#Session.q10_SantaClaus#','#Session.q11_Supervisor#','#Session.q1 2_SupervisorOpinion#' --->
    </CFQUERY>
    NOW HERE'S THE PROBLEM: I am running into trouble when trying to move the form variables to session variables of the same name. It is the only part of the software that I still need the datanames hard coded and that is a roadblock for me.
    <cfloop from="1" to="#Session.NumberOfSurveyFields#" index="arrayindex">
    <cfset thissessionfield = "Session." & Session.SurveyField[arrayindex]>
    <cfset thisformfield = "Form." & Session.SurveyField[arrayindex]>
    <cfset #thissessionfield# = #evaluate(thisformfield)#>
    </cfloop>
    I have tried it with or without the "evaluate"; same result. It doesn't give an error; it just ignores them (session variables look as such in the next page in the chain)
    q01_name=
    q02_acadtechorna=
    q03_water=
    q04_firstaid=
    q05_cpr=
    q06_lifeguard=
    q07_aed=
    q08_projadv=
    q09_color=
    q10_santaclaus=
    q11_supervisor=
    q12_supervisoropinion=
    Note: they exist because I CFPARAM them in a loop like the above at the start of the procedure) - and this works just fine!
    <cflock scope="Session" type="EXCLUSIVE" timeout="30">
    <cfloop from="1" to="#Session.NumberOfSurveyFields#" index="arrayindex">
    <cfset dataname = "Session." & Session.SurveyField[arrayindex]>
    <cfparam name="#variables.dataname#" default="">
    </cfloop>
    </cflock>
    I EVEN tried exploiting the Form.Fieldnames list using CFLoop over the list and the same sort of logic within and it still gives me nothing....
    Here's the FORM.FIELDNAMES value
    "Q01_NAME,Q02_ACADTECHORNA,Q03_WATER,Q04_FIRSTAID,Q05_CPR,Q06_LIFEGUARD,Q07_AED,Q08_PROJAD V,Q09_COLOR,
    Q10_SANTACLAUS,Q11_SUPERVISOR,Q12_SUPERVISOROPINION"
    Here's the logic; SAME RESULT - The session variables don't get set.
    <cfoutput>
    <cfloop list="#Form.FieldNames#" index="thisfield">
    <!--- <br>#thisfield# --->
    <cfscript>
    thisSESSIONfield = "Session." & thisfield;
    thisFORMfield = "Form." & thisfield;
    #thisSESSIONfield# = #thisFORMfield#;
    </cfscript>
    </cfloop>
    </cfoutput>
    The CFPARAM in a loop with variable output name works just fine; so does the post (which I included above) as does the SQL Create, Param Form Variables, Param Session Variables, etc.
    THIS even works for moving BLANK to each session variable, to zero them all out at the end of the process;
    <cflock scope="Session" type="EXCLUSIVE" timeout="30">
    <cfloop from="1" to="#Session.NumberOfSurveyFields#" index="arrayindex">
    <cfset thislocalfield = Session.SurveyField[arrayindex]>
    <cfscript>
    thissessionfield = "Session." & thislocalfield;
    </cfscript>
    <cfset #thissessionfield# = "">
    </cfloop>
    </cflock>
    Expanding on that code, you would think this would work, but it doesn't;
    <cfloop from="1" to="#Session.NumberOfSurveyFields#" index="arrayindex">
    <cfset thislocalfield = Session.SurveyField[arrayindex]>
    <cfscript>
    thissessionfield = "Session." & thislocalfield;
    thisformfield = "Form." & thislocalfield;
    </cfscript>
    <!--- debug --->
    <!--- <cfoutput>#thissessionfield# = "#evaluate(thisformfield)#"</cfoutput><br> --->
    <cfoutput>
    <cfset #thissessionfield# = "#evaluate(thisformfield)#">
    </cfoutput>
    </cfloop>
    And see that debug code in the middle? To add insult to injury... When I uncomment that it shows me this. So it certainly looks like this should work....
    Session.q01_name = "Me"
    Session.q02_AcadTechORNA = "N/A"
    Session.q03_Water = "Yes (certificate expired)"
    Session.q04_FirstAid = "Yes (certificate is current)"
    Session.q05_CPR = "No"
    Session.q06_LifeGuard = "Yes (certificate expired)"
    Session.q07_AED = "Yes (certificate expired)"
    Session.q08_ProjAdv = "Yes (certificate expired)"
    Session.q09_Color = "Gray"
    Session.q10_SantaClaus = "Yes"
    Session.q11_Supervisor = "Da Boss"
    Session.q12_SupervisorOpinion = "Not a bad thing"
    There must be some simpler way to do this. This way won't work against all odds even though it seems so much like it should.
    So I end up having to hardcode it; still looking for an automated way to set these #@%$*@!## session variables over the list from the form variables of the same @#@!$#%$%# name. Do I sound frustrated???
    No matter what I do, if I don't HARDCODE like this;
    <cfset Session.q01_name = Form.q01_name>
    <cfset Session.q02_AcadTechORNA = Form.q02_AcadTechORNA>
    <cfset Session.q03_Water = Form.q03_Water>
    <cfset Session.q04_FirstAid = Form.q04_FirstAid>
    <cfset Session.q05_CPR = Form.q05_CPR>
    <cfset Session.q06_LifeGuard = Form.q06_LifeGuard>
    <cfset Session.q07_AED = Form.q07_AED>
    <cfset Session.q08_ProjAdv = Form.q08_ProjAdv>
    <cfset Session.q09_Color = Form.q09_Color>
    <cfset Session.q10_SantaClaus = Form.q10_SantaClaus>
    <cfset Session.q11_Supervisor = Form.q11_Supervisor>
    <cfset Session.q12_SupervisorOpinion = Form.q12_SupervisorOpinion>
    I always get this from my next page because the session variables are empty;
    You must answer question 1.
    You must answer question 2.
    You must answer question 3.
    You must answer question 4.
    You must answer question 5.
    You must answer question 6.
    You must answer question 7.
    You must answer question 8.
    You must answer question 9.
    You must answer question 10.
    I tried duplicate as well, but I can not get the above to work...
    Can anyone help me do this thing that one would think is simple????

    I think if you use structure array syntax you should get the results you want.
    <cfloop from="1" to="#Session.NumberOfSurveyFields#" index="arrayindex">
          <cfset session[Session.SurveyField[arrayindex]] = Form[Session.SurveyField[arrayindex]]>
    </cfloop>
    Or probably even easier.
    <cfset session = duplicate(form)>

  • How do I pass a username form variable from a drop down list/menu to another page?

    Hi,
    I have a login_success.php page that has a drop down list/menu (which lists usernames). I want the user to click on their user name, and when they click the submit button the username information to be passed over to the username.php page which will contain a recordset, sorted by username.
    How do I pass the username info from the drop down list/menu to the username.php page?
    The drop down menu is connected to a recordset listUsername, I have filtered the recordset with the Form Variable = username, and I have used the POST method to send the username to the page username.php. I'm not sure how to structure the php or which page to place it on.
    <form id="form1" name="form1 method="post" action="username.php">
         <label for="username_id">choose username:</label>
         <select name="username_id" id-"username_id">
              <option value="1">username1</option>
              <option value="2">username2</option>
              <option value="3">username3</option>
              <option value="4">username4</option>
         </select>
         <input type="submit" name="send" id="send" value="Submit" />
         <input type="username" type="hidden" id="username" value="<?php echo $row_listUsername['username']; ?>" />
    </form>
    Could somebody help me please?
    Thanks.

    I would not post the variable over, In this case I personally would send it through the URL and use the $_GET method to retreve it. For Example.
    <html>
         <head>
              <title>Test Page</title>
              <script type="text/javascript">
                   function userID(){
                        //var ID = form1.userIDs.selectedIndex;
                        var user = form1.userIDs.options[form1.userIDs.selectedIndex].value;
                        window.location = "test.html?userID=" + user;
              </script>
         </head>
         <body>
              <form id="form1">
                   <select name="userIDs" id="userIDs" onchange="userID();">
                        <option>Select a User</option>
                        <option value="1">User 1</option>
                        <option value="2">User 2</option>
                        <option value="3">User 3</option>
                        <option value="4">User 4</option>
                   </select>
              </form>
         </body>
    </html>
    //PAGE TO RETRIEVE THE USERNAME
    <?php
    if(isset($_GET['userID'])
         $userID = $_GET['userID'];
         echo $userID;
         die;

  • Why can I not create a PHP Form Variable binding in Dreamweaver CS6?

    I'm using Dreamweaver CS6 on Windows 7.
    Currently, I'm following along with Lynda.com tutorial:
    Dreamweaver with PHP and MySQL: Ch. 6. Building Data Entry Forms |  Handling form submissions with PHP
    I'm attempting to add a form variable binding to a PHP document, but after each time I open the menu, type in my name and press OK, it does not show up in my Bindings box.
    and then POOF:
    Can anyone tell me what I'm doing wrong here? Or what I haven't done yet?
    I haven't had a problem with the entire tutorial up until this point and I couldn't find any documentation anywhere else on how to fix my problem.

    I'm using Dreamweaver CS6 on Windows 7.
    Currently, I'm following along with Lynda.com tutorial:
    Dreamweaver with PHP and MySQL: Ch. 6. Building Data Entry Forms |  Handling form submissions with PHP
    I'm attempting to add a form variable binding to a PHP document, but after each time I open the menu, type in my name and press OK, it does not show up in my Bindings box.
    and then POOF:
    Can anyone tell me what I'm doing wrong here? Or what I haven't done yet?
    I haven't had a problem with the entire tutorial up until this point and I couldn't find any documentation anywhere else on how to fix my problem.

  • CF Set form.variable for query and Next/Previous pages error

    I have a CF form with a select that posts to a CF "action" page.
    On the action page I: CFSET ItemNumber=#form.ItemNumber#
    I CFOUTPUT the 'ItemNumber' into the CFQUERY (which is an Inner Join dependant on the '#ItemNumber#')...
    All of the above works just fine and displays the database fields in color alternating rows, per the rest of the code.
    Here's the problem:
    I'm displaying 40 rows on a page per "Next and Previous" code. (CFPARAM name="start" default="1" and CFPARAM name="disp" default="40" along with the rest of the NextN code in the header and body). This does display 40 rows on the page and puts a link at the bottom of the page "Next 40 Rows", etc.
    Note: I'm only querying the database once and using the query (query name="data") to populate the table rows And the NextN code (CFOUTPUT name="data") And (CFIF start + disp GREATER THAN data.RecordCount, etc)...
    The problem happens when you click the "Next 40 Rows" link to display the 2nd page of rows. Since (I'm assuming) this NextN code is 're-reading' the same page from top to bottom, an error is thrown when the code tries to read the CFSET ItemNumber=#form.ItemNumber# at the top of the page.
    With the #form.ItemNumber# on this action page Originally coming from the previous posting of the form to this action page, when the "Next 40 Rows" link is clicked and the NextN code re-reads this action page - the CFSET ItemNumber (#form.ItemNumber) is not getting populated and throws the error...
    I hope I've not made this sound confusing.
    I can get the NextN code to work when I'm just querying the database without "flying in" a form variable. But when I CFSET a variable (#form.ItemNumber#) that is inserted into the query, the second page of the NextN throws an error and doesn't display.
    I would include the page code here but it would be fairly lengthy and, as well, the NextN code is a 'standard' CF code -- I've narrowed the problem down to the above "Element is undefined" (when the page tries to reload from the "Next 40 Rows" link) and am hoping there's a simple fix or another way to display the records in Next and Previous pages.
    Thanks to anyone in advance for shedding light on this.
    - e

    Thank you for the reply, Owain.
    Yes - The Next/Previous at the bottom of the page are hyperlinks.
    <a href="ThisPage.cfm?start=#Evaluate("start + disp")#">
    The following is at the top of the page (and is the variable from the form that I CFOUTPUT in the query):
    <cfparam name="ItemNumberDropdown01" default="">
    <cfset ItemNumber = #form.ItemNumberDropdown01#>
    The error report showed that the "Next Page" hyperlink was reading an undefined variable... although when the "action page" first opens from the form posting to it, it populates the CFSET just fine (per the cfparam and cfset above)... As you mention, the hyperlink clearing the form scope is what causes the error in trying to display the next set of records...
    The form page and the 'action page' are both secure pages with an application page setting the session, etc. Am I at risk in using an URL scope?
    Where would this URL scope be put? (The href is shown above - would the URL scope go in this? - How would this be written?)
    The CFPARAM and CFSET would still exist at the top of the 'action page' and still throw an error wouldn't it or would this be replaced with something else to read the form.variable for this 'first' action page to be displayed?
    Thanks again for the 'education' on this...
    - ed

  • How to pass Applet form variables without showing it on top ?

    I am running one applet with some form variables. After submit I want to pass those to .asp file to store into database.
    If I use URL method then all are getting displayed on URL location of browser which I do not want. I want to pass many form variables to another .asp file, so it may not be good also.
    What is the best way of doing it ? Need urgent help about it.

    Well If you create a POST request instead as a GET request the variables will not show up in the URL.
    On tips how to do that you can either check out this thread:
    http://forums.java.sun.com/thread.jsp?forum=31&thread=56388
    or one of these:
    http://search.java.sun.com/Search/java?qt=applet+GET+POST+variables&col=javafrm&rf=0
    Sjur

  • My simple form page isn't passing along the form variable I need to load my update page?

    I have created a recordset on my update page that specifies a form variable filter that matches the form ID on my simple form page.  When I enter the information on that page and submit, I go to the update page but nothing is loaded.  I've tested the update page using a URL parameter and it loads perfectly.  Why isn't my form variable working?

    Thanks for responding.  Here's the code.  I can't help with the url since I'm running on MAMP.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <link href="assets/Trigger.css" rel="stylesheet" type="text/css" />
    </head>
    <body bgcolor="#FEFABA">
    <div id="wrapper">
    <table width="680" border="0">
      <tr bgcolor="#FEFABA">
        <td><img src="assets/images/featuredActivities/featuredActivity_logo.png" width="620" height="82" alt="Logo" /></td>
      </tr>
      <tr>
        <td height="98"><p>Update your information</p>
        <p>Please enter you Email Address and the click the Submit button</p></td>
      </tr>
      <tr>
        <td><form id="ml_email" name="ml_email" method="post" action="mailList_update.php">
          <label>
            <input name="text" type="ml_email" />
          </label>
          <label>
            <input type="submit" name="submit" id="submit" value="Submit" />
          </label>
        </form></td>
      </tr>
    </table>
    </div>
    <!--
    //-->
    </body>
    </html>

  • Form Variables Don't Pass for Some Clients

    Recently, I’ve noticed some problems on one of my pages
    where form field variables aren’t passing to my action page.
    As far as I can tell, this is a new problem.
    This is the error I’m getting:
    Error resolving parameter FORM.EMAIL
    The specified form field cannot be found. This problem is
    very likely due to the fact that you have misspelled the form field
    name.
    The error is thrown when a cfquery is unable to find the form
    variable.
    The query looks, basically, like this:
    <cfquery name="Iogin" datasource="dsn">
    SELECT Count(*) AS Match
    FROM Users
    WHERE users.email = '#FORM.email#'
    AND users.password = '#FORM.password#';
    </cfquery>
    I know I could squash these errors with a cfparam or with
    other error checking, but what I’m really concerned about is
    why the form variables aren’t there. I have tested the form
    on a number of my internal clients and have not been able to
    replicate the error as it is being triggered from outside clients.
    I am able to submit a blank form or a complete form without any
    errors being thrown. I have established that the form submissions
    are coming from my site and are not being submitted by an outside
    domain.
    QUESTIONS:
    1. Does anyone know what might be happening to cause the form
    variable to disappear? Shouldn’t all the forms variables be
    submitted when a user hits the submit button, regardless of whether
    there is data in the form field?
    2. Could a firewall on the clients’ end be withholding
    the form variables without notifying the user?
    3. Have there been any recent changes to browsers that could
    be holding back form variables?
    Any help would be greatly appreciated!

    @Azadi
    quote:
    from your posts it looks like this happens to different forms
    in your application (you mentioned the email field and also a
    select box, which is presumably in some other form)
    I was able to resolve the problem with the second form (the
    one with the select box, not the one posted above). A JavaScript
    resided on that action page which triggers a service. The service
    (similar to GoogleAds) receives the page’s url from the
    JavaScript and then the service comes back and loads the page to
    evaluate the page’s content. The result: Action pages being
    loaded with no form content. My error reporting, very similar to
    what insuractive suggested, helped solve this problem.
    HOWEVER, we still periodically have trouble with the other
    form. I know from speaking with at least two users that the problem
    is a direct result of users following the planned application
    flow—form to action page. So this discussion is still
    relevant.
    @insuractive
    quote:
    you should make sure you test to see what happens when the
    client has javascript and/or cookies disabled on their browser.
    This is a good thought. I’m embarrassed to say that I
    haven’t tried accessing this form with cookies and JavaScript
    turned off. I will try this and report back.
    Thanks to all of you who are offering suggestions.

  • Form on coldfusion page losing form variables

    OK, I am having a very strange problem. Several applications
    on our
    production web servers have started manifesting the same
    symptom. On
    the login page, you have a couple of fields for account name
    and
    password. When you hit submit the action page says it can't
    find the
    form variables. These are on a cluster. If you go to the
    servers
    individually, then everything works as it should. Our network
    people
    claim that we are not shifting from one server to the other.
    Has anyone
    else ever seen this behavior before on a single
    server?

    These are stand-alone servers that being load-balanced. They
    are supposed to stuck on the same server until the session ends. If
    we go to the individual servers and run the applications, it works.
    Otherwise, it fails randomly.
    quote:
    Originally posted by:
    fober1
    Hi,
    I have not seen that specific behavior on clustered or single
    web-servers.
    You did not write if you are using any cluster features of
    ColdFusion, but I assume you are using as stand-alone configured
    ColdFusion servers, and through LoadBalancer configuration (sticky
    cookie) you are making sure that users are always sent back to the
    same server.
    I would not expect the problem you have to be caused by such
    a load balancer configuration, but companies who implement load
    balancers often also use Proxy-servers, and now well they can mess
    up a lot of things with caching.
    (even Dan's problem could be caused by a proxy server: first
    request to verify if the requested page still has the same date,
    and then the request is actually sent to the server itself for
    execution).
    A quick way to verify if a proxy is messing with you is to
    attach any URL parameter: "www.mysite.com/index.cfm" may be cached,
    but "www.mysite.com/index.cfm?user=12345" should not be served from
    the cache and instead get sent to an actual web-server to return a
    customized response.
    Cheers,
    fober

  • Submit Infopath form to a dynamic URL without code

    I trying to submit an Infopath form to a Document set, the document set will be a different one for each instance of the form. How can the form be submitted to a dynamic location without using code behind? I am in SharePoint online and this is
    a limitation.
    Thank you
    ITGirl

    Hi,
    If you want to submit an InfoPath form to different locations dynamically, there is no OOB approach without code, since submit option needs static URL value.
    Here is a similar issue for your reference:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/1588a8d2-cb43-4090-b2c1-8835d3e8fbe3/dynamically-submit-for-document-library-using-infopath-2010
    Without code, to submit form to different locations, you need to manually add submit rules per the Document Sets in your library, such as create a new column for Document sets name, then create submit rules to separately specify destination in submit options.
    Here are the steps for your convenience:
    1.Insert a text box named “field1” to type the names of the document sets in the InfoPath form.
    2.Add a button to submit in the InfoPath form.
    3.Add rules in the submit button: Add condition: “field1” is equal to “01”(the name of the document set in my environment) -> Add Submit Data in Run these actions field -> Add Data connection -> Type the URL of the document set “01” and type the
    file name you want.
    4.According to the different document sets you want to submit to, you could add more rules in the submit button to repeat the step 3.
    Best Regards,
    Dean Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Defining "Form Variables"

    Hi all,
    I have been defining Form Variables in the following manner :
    *<Field name='global.firstname'>*
    I always use the prefix "global".
    Next, I edit the "IDM schema" file, making sure to add the new field/attribute, as follows :
    *<IDMAttributeConfiguration name='firstname'*
    description='default attribute from UserExtendedAttributes/UserUIConfig'
    syntax='STRING'/>
    The reason I did this is because : I noticed that, if I do not specify the attribute itself in the "Schema" file, then the values will not be SAVED when I input them in the User Form.
    However, I was informed that IDM does not require that Form Variables be specified in the Schema file. In fact, Form Variables do not require the *"global"* prefix to be used.
    But, if that's true, then why are my field values not being STORED?
    Any tips will be greatly appreciated.
    Thanks

    This subject is covered in the very beginning of the training courses and in the documentation.
    Adding an attribute to the schema means that it can be stored in the IdM Repository, nothing else.
    Using the "global" prefix means that the attribute value will be stored in ALL resources that has an attribute with the same name.
    If You want to store the user just in the IdM repository, you can use the prefix "accounts[Lighthouse]" instead which also prevents the value being stored at other resources as well. "Lighthouse" being the IdM default resource name.
    While on it, You should look up what the prefix "waveset" means too!

  • Text input as variable in a URL

    I want to create a simple flash document with a text input
    field, and a button that will go to a URL. The trick is that the
    text input field needs to replace an element in the URL for
    personlaization purposes. I got the field, and I got the button.
    What is the method for getting it into the URL.

    I think you should be able to do something like, I use it for
    loading variables from a URL a lot and im pretty sure will work the
    same using getURL
    something like this, just change the variables to yours
    getURL("
    http://www.test.com/cgi-bin/scripts.pl/flash/search?name="
    + input_name_text.text + "&category=" + category + "&type="
    + category);
    Whatever is in those variables will be inserted into the
    URL.

Maybe you are looking for

  • VHS Captured With DV Converter Judders In Compressor/DVDSP, OK In iDVD.

    This is more a statement than a question. Some people will be familiar with my inability to produce judder-free DVDs from HDV or AIC footage burned in iDVD ........ which I have previously described +ad nauseam.+ Well here's something entirely differ

  • OID and 8.1.6

    Will OID work on Oracle 8.1.6? I have installed the OID portion of the software over 20 times and nothing works. If I try to let the install create a database, it doesn't work. If I try to use a current database, it doesn't work. Do I need 8.1.7 in o

  • Re: Recognizing JAR files in WEB-INF/lib

    Steven Vetzal wrote: I am attempting to open existing web projects in NitroX and am beingplagued with: The class "com.someone.Class" is not in the application class path The classes are contained in JAR files in WEB-INF/lib. I have been looking for a

  • How to access SOAPAction in Handler class ?

    How do I access the SOAPAction in a handler class? I've tried to get the SOAPACTION_URI_PROPERTY from the SOAPMessageContext, but the value is null.

  • CODE PLEASE URGENT

    HI GEMS, PLEASE SEND ME THE CODE PLEASE ITS URGENT. The retrieval logic is to be used only for displaying the accounting and assessment year 1) Accounting Year: GJAHR-(GJAHR+1) Assessment Year GJAHR1) – (GJAHR2) 2) Get the following details from BSIS