Problem passing variables

I am trying to pass some variables in this page to the next
page where they will all be inserted into a table in the DB. For
some reason none of these are being passed. Can anyone help me out
with how I can pass these? The variables I need to pass are
highlighted.
<cfquery name="test" datasource="db">
SELECT * FROM IDs S1, Import M1
WHERE S1.CardNumber = M1.ID
</cfquery>
<cfquery name="b" datasource="db">
select Level
from levels
where NetId = '#id#'
ORDER BY Level
</cfquery>
<cfloop query="test">
<cfoutput>
<tr>
<td align = "left" style="PADDING-LEFT: 5px" class="pad5"
ID="CardNumber">
#CardNumber#</td>
<td style="PADDING-LEFT: 5px" class="pad5" ID="Name">
#Name#</td>
</cfoutput>
<form name="form" method="post" action="schedule.cfm"
target="_self" ID="testrow">
<td height=21 class="pad5" ID="bldgarea">
<select name="bldgarea">
<cfoutput query="b">
<option value="#Level#">
#Level# </option>
</cfoutput>
</select>
</td>
<td height=21 class="pad5">
<select name="schedule">
<cfoutput query="bldgcode">
<option>
#Schedule# /
#SchedDescr#</option>
</cfoutput>
</select>
</td>
</form>
<td class="pad5" valign="bottom">
<cfoutput>
<form method="post">
<input type="text" name="startdate" style="width:60"
value="
#form.startdate#">
</cfoutput>
</td>
<td class="pad5"
valign="bottom"><cfoutput><input type="text"
name="expdate" style="width:60" value="
#form.expdate#"></cfoutput></td>
</form>
</tr>
</cfloop>

<cfquery name="test" datasource="db">
SELECT * FROM IDs S1, Import M1
WHERE S1.CardNumber = M1.ID
</cfquery>
<cfquery name="b" datasource="db">
select Level
from levels
where NetId = '#id#'
ORDER BY Level
</cfquery>
<form name="form" method="post" action="schedule.cfm"
target="_self" ID="testrow">
<cfloop query="test">
<tr>
<td align = "left" style="PADDING-LEFT: 5px" class="pad5"
ID="CardNumber">
<input type="text" name="cardnumber"
value="<cfoutput>#CardNumber#</cfoutput>"
></td>
<td style="PADDING-LEFT: 5px" class="pad5"
ID="Name"><input type="text" name="name"
value="<cfoutput>#Name#</cfoutput>"></td>
<td height=21 class="pad5" ID="bldgarea">
<select name="bldgarea">
<cfoutput query="b">
<option value="#Level#">
#Level# </option>
</cfoutput>
</select>
</td>
<td height=21 class="pad5">
<select name="schedule">
<cfoutput query="bldgcode">
<option>#Schedule# / #SchedDescr#</option>
</cfoutput>
</select>
</td>
<td class="pad5" valign="bottom">
<input type="text" name="startdate" style="width:60"
value="<cfoutput>#form.startdate#</cfoutput>">
</td>
<td class="pad5" valign="bottom"><input type="text"
name="expdate" style="width:60"
value="<cfoutput>#form.expdate#</cfoutput>"></td>
</tr>
<input type="submit" name="submit" value="Submit">
</cfloop>
</form>

Similar Messages

  • Please HELP!!! Survey building problem (passing variable)

    If anybody can help I would very very appreciate this!
    The problem is that I’m trying to build a survey! In
    admin screen there is choice of questions to create (check box,
    radio, combo and comments)
    Once admin creates questions with particular radio buttons
    set, then he can add answers with radio buttons next to it.
    Then it adds all that to database.
    For users to see this survey with multiple questions and
    answers I have created form in which all this is visible. For radio
    buttons to appear I need to loop through the query which selects
    all created questions and answers. However, for radio buttons to
    appear as grouped I use name = #questionID# from query – so
    that radio buttons will be grouped for each question.
    My problem is since it is like:
    <CFLOOP query="radioCheckView">
    <INPUT type="Radio" name=" #questionID #"
    value="<CFOUTPUT>#RadioQuest#</CFOUTPUT>">
    <CFOUTPUT>#RadioQuest#</CFOUTPUT><br>
    </CFLOOP>
    Once user submits the form, all answers should be inserted
    into database.
    How then this radio button can be identified when you submit?
    <CFIF isDefined("Form.Submit")>
    <CFOUTPUT query="ViewQuests">
    <CFQUERY name="UserInsert" datasource="surveyDB">
    INSERT INTO answers
    (questID, comments, radio)
    VALUES
    #questID#,
    '#form.comment#',
    '#form.??????????? #' – “Don’t know what
    should I write here this should be a radioButton Name which is
    mentioned above”
    </CFQUERY>
    </CFIF>
    Please guys if you know how to solve this problem –
    help me!
    THANK YOU VERY VERY MUCH IN ADVANCE!

    Here is an example that answers your question. Remarks:
    1) There is, as usual, just
    one name for the radio fields. It is assigned dynamically as
    #questionid#.
    2) The radio fields have different values, also assigned
    dynamically by means of the array radioquest.
    3) When the form is submitted the dynamic value #questionid#
    will not exist on the action page. One solution is to store it in a
    hidden field.

  • Problem with variables in formulas when using CrystalReportViewer

    Post Author: Aksu
    CA Forum: Formula
    Hi! I have a problem with variables in Crystal Reports formulas, when using CrystalDecisions.Windows.Forms.CrystalReportViewer class from VS2005-project. ReportViewer always gives error:*************Crystal Report Windows Forms ViewerThis field name is not known.Details: errorKindError in File C:\{dir&#93;}\{file}.rpt:Error in formula <mCustomerAttributes>.'Dim result As String'This field name is not known.Details: errorKind ************* Report without variables works fine with Viewer and in Crystal Reports Designer report with variables works also fine. I have tried with both "formula-syntaxes" - basic and crystal. But Viewer always gives error when trying to define new variable.I think the problem might be with CR -versions, because VS-project has formerly been designed to VS2003 and CR9 or 10. Now I'm using VS2005 and CR11. Though I have changed all references to new CrystalDecisions-asseblies (Ver.11.0.3300.0), when I debug the project and checkout the Viewers ReportSources FormatEngine Shows version CR9_2.... I have no idea where it gets this version...***************DEBUG-view when Viewer is created *******************CrystalReportViewer    |_        ReportSourceClassFactoryName ... , Version=11.0.3300.0 , ...    |_            ReportSource            |_                FormatEngine    {CrystalDecisions.CrystalReports.Engine.FormatEngine}                        |_                        ClientVersionHeader    {CrystalDecisions.Shared.ReportServiceVersionHeader}                            |_                            |    version = 920     (int)                            |_                                Static members                                            |_                                        VER_CR9    = 920    (int)**************************************** Could anyone have any answers or tips for this problem? I'd really appreciate it... ---Aksu

    Has anyone been able to answer this question?
    I am having the same problem:
    I am designing a report in Crystal Reports XI Developer that contains parameters, which are passed to a stored procedure and are also used within formulas ( in Crystal Syntax ie. {?FORMAT_ID} ) in the report itself.
    I can run the report successfully in CRXI Developer.  The formulas use the correct values from the parameters entered during execution and everything looks good.
    I then deploy the report to Business Objects Enterprise XI.  I do all of the things necessary to manage the report including setting up the proper database connection information and default parameter values.
    When I run the report using the Crystal Report Viewer, I get the following error message:
    Error in File Forecasting.rpt:
    Error in formula <Report Format>.
    'if (not isNull({?FORMAT_ID} ) ) then
    This field name is not known.
    Details: errorKind
    This happens when I press the "Preview" button in the Manage Object dialog from Crystal or when I run the report using InfoView.
    I have changed the formulas and it doesn't seem to matter what the specific content of the formula is; other than the existence of a parameter reference in the formula.  If I comment out the parameter and replace it with a hard-coded value, it gets through the formula fine.
    Does Business Objects Enterprise XI support crystal reports with parameter references in the formulas?
    Thanks,
    Tim H.
    Edited by: Tim Haley on Nov 25, 2008 11:11 PM
    Edited by: Tim Haley on Nov 25, 2008 11:12 PM

  • Error when executing query without passing variable selection

    Hi Gurus
    I am getting an error while executing a query with out passing values for variables
    When executing the query by passing the filter values report returns the data
    When executing the query with out passing variable selections the error message is
    Unknown error in SQL interface
    Error reading the data of Info Provider ZCRM_O08
    Error while reading data; navigation possible
    System error in program SSAPLRS_EXCEPTION and form
    RS_EXCEPTION_TO_MESSAGE
    No Data Available
    can any one please help me in resolving this
    Thank you

    Hi Srini
    Thanks for your quick response
    When i am executing the query with selection it is returning the data
    giving error when executing with out passing the selection
    is there any other cause for this problem
    like any particular info object causes this sort of problem
    Thank you

  • Error produced when trying to pass variables to a Matlab script

    For some reason, LabVIEW produces an Error 1047 (Unable to pass variable to the script server) whenever I create an input variable to a Matlab code block.
    Outputs work fine (for example, connecting an output "a" to a Matlab code block that says "a=rand(50)" correctly produces a 50x50 array of random numbers that can be displayed in LabVIEW). However, creating any kind of input node, whether or not the associated variable is mentioned in the MATLAB script, brings up an error 1047.
    Any ideas what could be causing this? I'm using LabVIEW 7.0 and MATLAB 7 (R14). I've read the article
    >here and that's not the problem, and I've also updated my matscript.dll to the latest version, 7.0.0.2, which also made no difference.

    For what its worth,
    I work in a company with a lot of Matlab users, and I,m programming in Labview and Matlab.
    When I create a testrig measurement I always have to convert data into Malab format, so I used the script server a lot... exept we have a limited pool of Matlab
    licenses so my work was halted whenever the licences where gone.
    So I wrote a Write2Matlab vi.
    This vi can log data from a measurement and write it in a Matlab readable file format (Matlab6 R12).
    After logging you can append more data. It works with(Double,Single,Int32,Int16,U16,U8,String) matrix see for yourself in an example (Write2matlab_test.vi).
    Perhaps this is an alternative solution for your problem.
    Please send me a reply if you find it usefull.
    John
    Attachments:
    Write2Matlab.llb ‏1145 KB

  • XSLT problem passing raw XML

    Hello,
    I've a problem passing a piece of raw XML code to an external assembly to do some tasks.
    The problem is that if I use an XSLT like this:
    <xsl:template name="xml-to-string-called-template">
       <xsl:param name="param1" />
              <xsl:element name="ns0:Root">
                  <xsl:variable name="tryThisTemplate">
                      <xsl:text disable-output-escaping="yes"></xsl:text>
                          <xsl:call-template name="identity" />
                      <xsl:text disable-output-escaping="yes"></xsl:text>
                  </xsl:variable>
    <xsl:copy-of select="$tryThisTemplate" />
               </xsl:element>
    </xsl:template>
    <xsl:template name="identity" match="@*|node()">
       <xsl:copy>
    <xsl:apply-templates select="@*|node()" />
       </xsl:copy>
     </xsl:template>
    I have as output the XML with all tags like expected (the TestFunction take a string as input ad return the same string as output), like this:
    <ns0:Root xmlns:ns0="http://BizTalk_Server_ProjectDemo.SchemaOut1Node">
    - <ns0:Travel xmlns:ns0="http://BizTalk_Server_ProjectDemo.SchemaIN">
      <DateTimeStart>1999-05-31T13:20:00.000-05:00</DateTimeStart>
      <Field>Field_0</Field>
      </ns0:Travel>
     </ns0:Root>
    The problem is that if I try to pass the variable to my external assembly, in this way:
    <xsl:template name="xml-to-string-called-template">
       <xsl:param name="param1" />
              <xsl:element name="ns0:Root">
                  <xsl:variable name="tryThisTemplate">
                      <xsl:text disable-output-escaping="yes"></xsl:text>
                          <xsl:call-template name="identity" />
                      <xsl:text disable-output-escaping="yes"></xsl:text>
                  </xsl:variable>
                  <xsl:variable name="pCC" xmlns:ScriptNS0="http://schemas.microsoft.com/BizTalk/2003/ScriptNS0"
    select="ScriptNS0:TestFunction($tryThisTemplate)" />
                    <xsl:text disable-output-escaping="yes"></xsl:text>
    <xsl:copy-of select="$pCC" />
                    <xsl:text disable-output-escaping="yes"></xsl:text>
               </xsl:element>
    </xsl:template>
    saving its return value and printing it, I have as output the values of fields contained in $tryThisTemplate variable, and not all the XML like I need:
    <ns0:Root xmlns:ns0="http://BizTalk_Server_ProjectDemo.SchemaOut1Node">1999-05-31T13:20:00.000-05:00
    Field_0</ns0:Root>
    What can I do to pass all the raw XML to my function and not the values of its fields?
    I tried to declare the output method as like xml than html or text but nothing changed

    First, of all your input xml has invalid namespace declaration, is this like below what mean to say:
    <ns0:Root xmlns:ns0="http://BizTalk_Server_ProjectDemo.SchemaOut1Node">
      <ns1:Travel xmlns:ns1="http://BizTalk_Server_ProjectDemo.SchemaIN">
        <DateTimeStart>1999-05-31T13:20:00.000-05:00</DateTimeStart>
        <Field>Field_0</Field>
      </ns1:Travel>
    </ns0:Root>
    Second, you can achieve what you are trying to map using very simple map like below:
    and you can see the xslt is generated like below:
    <?xml version="1.0" encoding="UTF-16"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:var="http://schemas.microsoft.com/BizTalk/2003/var" exclude-result-prefixes="msxsl var s0 userCSharp" version="1.0" xmlns:s0="http://BizTalk_Server_ProjectDemo.SchemaIN" xmlns:ns0="http://BizTalk_Server_ProjectDemo.SchemaOut1Node" xmlns:userCSharp="http://schemas.microsoft.com/BizTalk/2003/userCSharp">  <xsl:output omit-xml-declaration="yes" method="xml" version="1.0" />  <xsl:template match="/">    <xsl:apply-templates select="/ns0:Root" />  </xsl:template>  <xsl:template match="/ns0:Root">    <xsl:variable name="var:v1" select="userCSharp:StringConcat(string(s0:Travel/DateTimeStart/text()) , &quot;  &quot; , string(s0:Travel/Field/text()))" />    <ns0:Root>      <xsl:value-of select="$var:v1" />    </ns0:Root>  </xsl:template>  <msxsl:script language="C#" implements-prefix="userCSharp"><![CDATA[public string StringConcat(string param0, string param1, string param2){   return param0 + param1 + param2;}]]></msxsl:script></xsl:stylesheet>
    Third, if you are really interested passing your whole using xslt, then probably this artical will be helpful to you
    http://connectedpawns.wordpress.com/2009/08/01/how-to-copy-the-entire-node-to-element-of-string-type-in-a-map/
    Please mark it as Answer if this answers your question
    Thanks.
    Mo
    The contents I write here is my personal views, not the view of my employer and anyone else.
    Thank you, yes you're right about the namespaces, but this is only a proof of concept ant I have to adjust it.
    What is the functoid you put in the map? And can I pass its output to an external assembly as parameter? (I need to do it and return the output to a certain schema node).
    Thank you

  • Passing variables to loaded external movie

    Ok, this problem has beaten me for the last 2 days. It seems
    to be extremely simple, I am on main movie and I am using
    MovieClipLoader class to load external movie callMe.swf into movie
    holder called holder_MC, then from main using onLoadInit or
    onLoadProgress listeners I can target dynamic text inside
    callMe.swf as holder_MC.myTXT.text = "blablabla" or I can change
    frames in callMe.swf by holder_MC.gotoAndStop(5). But HOW TO PASS
    VARIABLE myVar to callMe.swf so it executes something there? Using
    holder_MC.myVar DOESN'T WORK!!!!!!!!!!!!!!
    Thanks for any help,
    Zbynek

    UPDATE... I copied the link to another page with my variables in the image attributes as I posted above. And it works using the values that are cached for those items. Is there any way to do this on the same page as my original link without my users having to change to a different page?

  • How to pass variables between loaders

    Hi,
    I am trying to load an image, with descriptive text and a back button on the click of a thumbnail of the image. I am using a MovieClipLoader instance to do this.
    Here are my problems:
    1. I tried loading the image, with the text(which is within an external swf), using the same loader, but since I am placing them dynamically, depending on the dimensions of the image, I need to pass variables between the two. The image loader is taking longer than the text (obviously) but I need the dimensions of the image before I can place the text. How do I do that??
    2. I tried using two loaders, with separate listeners, and the problem once again is that the text loads before the image, and is hence placed with default values instead of the values derived from the image. The code is within onLoadInit(). Is it possible for me to get the dimensions of the image from onLoadStart()???
    3. There is a back button within the text.swf. I want the image and the text.swf to be unloaded when this button is clicked. How can I achieve that? Can I call loader.unloadClip(target), from within this? Will it recognize the variable?
    4. Is there a much easier way to do this, which I am sadly unaware of?
    Any help will be appreciated.

    Tried the onloadstart() function, but it gives target._width and _height as 0. So that is ruled out...any other suggestions?

  • Passing  variable val to UPC_BUNDLE_EXECUTE_STEP program in prc chain

    Hi
        i have a problem regarding background sheduling of Global Planning Sequence using Process chain.This Global sequence should run for different values of a char.In my level i restricted that Char with a variable which is ready for input.In process variant i maintained the values of Char to be Executed.When i am running the Process chain it is giving the following Error message.
    Characteristic XS_CRCLR must be ready for input in package XPPWLN05 .
    I tried to remove the variable in level and made it as selection and tried to select a variable in Packge .It is not allowing me to select a variable.
    1.Is there any way to Solve this Problem?
    2.and i am thinking of passing variable value through ABAP program in process chain after every execution. will this work? 
    Is there any document regarding Background scheduling of global Sequence?
    any suggestions will be appreciated.
    Thanks
    Suresh

    Hi Suresh,
       I felt links may be better useful fro you...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=/help/sdn_nw04/saphelp_nw04/helpdata/en/80/a22130f6fc4264a822e9895468f3f5/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=/forums/sdn_jive_forums/thread{74687265616449443d3534353238}.jspa
    Thanks,
    Raj

  • Passing variable value as a prompt

    Hi All,
    I have one problem related to passing variable through prompt. let's discuss whole situation. Suppose I have 5 interface having variable say user_id in each interface. And 5 packages for each interface. Now I have generated scenario for these packages. I am using these scenario to create one master package. Also I have created scenario for master package. Now I want to do something like this. When I execute scenario of this master package there should be one prompt asking value for user_Id value and that value should pass to all packages and interface and same value should be inserted in target table. I can bring prompt but can not insert that value in database.
    Request you to help me out in this case.
    Thanks and Regards
    -Pallav

    Hi Pallav,
    Not sure how are you trying to insert the variable value in the database but you can create an ODI variable to capture the user entered data from the scenario UI and you can pass the same variable to the underlined package/interfaces.
    Could you elaborate a bit more on the inserting the variable value in the database.
    Thanks

  • How? Flex pass variables or call function in SWF

    Dear All:
    I am new in Flex.
    But I stuck with a problem for weeks.
    I wish to communication between Flex and Flash(swf).
    I tried to pass variable from Flex to Swf. (Call function in Swf also pass variables)
    I did some tourital on google by using SWFLoader, which works fine.
    BUT the AS code in SWF must in MAIN FRAME.
    I need put my AS code by using DOCUMENT CLASS.
    BUT when I using Document class, the method is not working.
    The flex cannot find function in Flash.
    PS.I already set main.as class as public
    Hope some one can give some hint.
    I really get a huge headache.
    Many thanks,
    Henry

    myIP wrote:
    > or perhaps more ideal;
    >
    > for(var sVar in flashVars)
    > {
    > i++;
    > //var mcName = sVar.substr(0,3);
    >
    > // create the MCs:
    > duplicateMovieClip(_root.testBut,"medium"+sVar,i);
    > _root["medium"+sVar].testText.text=sVar;
    > _root["medium"+sVar].mcName = sVar.substr(0,3);
    >
    >
    > // assign the function to each created MC:
    > _root["medium"+sVar].onRelease = function()
    > {
    > trace(this.mcName)
    > _root[mcName]._x=0;
    > }
    > }
    >
    thanks but this does not work.
    I think that the problem is that the variables defined in the
    for loop do not exist in the scope of
    the function.
    when the MC is clicked, and the onRelease function says:
    _root[mcName]._x=0;
    the variable "mcName" is empty.
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    An Ingenious WebSite Builder:
    http://sitelander.com

  • Deferred Tasks - Passing Variables into Workflow

    Hi everyone
    I am experiencing difficulties with deferred tasks in IDM 8.1. I have managed to create a deferred task on a user, with the task name being ‘Generate Email’. I also passed in an attribute ‘id’, and these can be seen in the user view under waveset.properties.tasks.
      <Activity id='1' name='Add Deferred Task'>
                    <Action id='1' application='com.waveset.session.WorkflowServices'>
                        <Argument name='op' value='addDeferredTask'/>
                        <Argument name='type' value='User'/>
                        <Argument name='name'>
                            <ref>accountId</ref>
                        </Argument>
                        <Argument name='authorized' value='true'/>
                        <Argument name='subject'>
                            <s>Configurator</s>
                        </Argument>
                        <Argument name='task'>
                            <ref>taskToAdd</ref>
                        </Argument>
                        <Argument name='date'>
                            <new class='java.util.Date'/>
                        </Argument>
                        <Argument name='owner'>
                            <ref>WF_CASE_OWNER</ref>
                        </Argument>
                        <Argument name='taskDefinition'>
                            <new class='com.waveset.object.GenericObject'>
                                <map>
                                    <s>id</s>
                                    <ref>accountId</ref>
                                </map>
                            </new>
                        </Argument>
                    </Action>
                </Activity>I have set up a scheduler that correctly scans all the user objects for this workflow name, and the ‘Generate Email’ workflow is periodically run.
    The problem is when it gets to the Generate Email workflow, all the variables that were set when the deferred task was created are gone. Both <ref>id</ref> and <Variable name=’id’ input=’true’/> return null.
    Setting the following in the TaskSchedule object did not help, as the string value $(id) is passed into the workflow instead of the id itself. I cannot debug the TaskSchedule as the Netbeans IDE does not allow me to put in breakpoints on this file.
    <Variables>
        <Object>
          <Attribute name='id' value='$(id)'/>
        </Object>
      </Variables>My question is, how do I pass variables into a workflow via a deferred task?

    Hi,
    Here is an example that I found that may assist.
    <Activity name='setDefTask'>
         <Action application='com.waveset.session.WorkflowServices'>
           <Argument name='op' value='addDeferredTask'/>
           <Argument name='name' value='$(user)'/>
           <Argument name='task' value='$(taskType)'/>
           <Argument name='date' value='$(date)'/>
           <Argument name='description' value='$(taskDescription)'/>
           <Argument name='taskDefinition'>
              <Object>
                  <Attribute name='Arg1' value='value1'/>
                  <Attribute name='Arg2' value='value2'/>
                  <Attribute name='Arg3' value='value3'/>
              </Object>
           </Argument>
         </Action>
         <Transition to='end'/>
    </Activity>Hope it helps

  • Passing variables with page redirect

    I have a cfform. After it is filled out and submitted, the
    action page generates a random reference_no and puts the data into
    a database. I then do a cflocation url and pass the reference_no to
    another page. This page takes the reference_no and does a cfquery
    again to get all the information just entered and displays it on
    the form. A javascript popup/alert message then tells the user the
    form was submitted with the reference_no and to print the form. I
    was advised to do it this way so that the form cannot be
    resubmitted again. Everything works fine the way I have it.
    Now here is what I would like to do. After the form is
    displayed with the popup, I would like to pause 3-5 seconds and
    then redirect that page to another page that is identical (minus
    the javascript popup message) with the cfdoucment tag because I
    want them to print the form in pdf format. The problem I am having
    is when I do another cflocation url at the end of the display page
    and pass the referendce_no, to go to the pdf page, it works but it
    never stops at the display page to display the javascript popup
    message. So I tried to use the meta tag refresh rediredct set at 3
    seconds and pass the reference_no. The display page with the
    javascript message works then the page is redirected but the
    reference_no is never passed and the pdf form comes up but without
    anything to display. I guess you cannot pass variables in a meta
    tag since that is not cf ?
    How can I go from the page with the javascript popup to the
    page with cfdocuement pdf format ?
    Thanks

    You would have to craft the url of the popup page to pass the
    reference_no. I'm going to assume that you're using the "Post"
    method on your form, which means you have to pass the reference_no
    form value as a url/GET value.
    <cflocation
    url="somesite.com/popup.cfm?reference_no="#form.reference_no#">
    and then on the popup.cfm page, consume the url.reference_no
    again as part of the url in the meta refresh
    <cfoutput>
    <meta http-equiv="refresh"
    content="10;url=http://somesite..com/pdfDisplay.cfm?reference_no=#url.reference_no#"
    />
    </cfoutput>
    If you're just trying to prevent double submission, you could
    just lock the
    form from double submission clientside. In the method below,
    it actually hides the form. There are other options such as
    displaying an inline IFRAME which would simulate a popup and would
    remain until the page was refreshed from the form submission. I
    would also consider this old school. You might want to check out
    other options as far as Web 2.0 using AJAX and frameworks such as
    JQuery.
    <script language="javascript">
    function formSubmit(){
    if (document.myForm.isSubmitted.value != "no"){
    return false;
    }else{
    document.myForm.isSubmitted.value = "yes";
    document.getElementById('submitdiv').style.display =
    "block";
    document.getElementById('formdiv').style.display = "none";
    document.myForm.submit();
    </script>
    <div id="submitdiv" style="display:none">
    Your Form has been submitted.
    </div>
    <div id="formdiv" style="display:block">
    <form method="post" name="myForm" id="myForm"
    action="HandleSubmission.cfm">
    <input type="text" name="isSubmitted" value="no">
    <input type="button" name="manSubmit" value="submit"
    onclick="formSubmit();">
    </form>
    </div>

  • Passing Variable with a URL

    Hi,
    I’m trying to pass variables first - from a non-secure
    web site to a secure (on another server) form. I have that figured
    out, but when I go to submit the form, the variables I passed to
    the form, are not showing up on my return e-mail from the form.
    Here is the code for the FORM ACTION & Reurn Template -

    What do you see in the URL scope when you CFDUMP the page?
    (Hint: this problem is about scoping variables.)

  • Passing variable from one template to another

    We have problems in the BI7 environment with passing variables across from one web template to another.
    In BW3.x there was a Java Script Command SAP_BW_URL_Get used to construct URLs.
    (Please also see the SAP documentation: http://help.sap.com/saphelp_nw04/helpdata/en/b4/0fa239cec06b40e10000000a11402f/content.htm)
    In BI7 this command seems to be not existent.
    But as it is such a basic functionality I can’t believe that is not available anymore.
    I guess it is replaced by another command.
    Could you help us to find a functionality that replaces the SAP_BW_URL_Get command?

    Hi Andrew,
    Did you manage to find any solution for this one?
    Currently we are also facing the same problem.
    Thank you in advance.
    Best regards,
    Fen

Maybe you are looking for

  • How can I stop the flickering/juddering that appears on my iPhone 5's screen?

    How can I stop the continuous flickering/juddering that appears, usually after I switch Wi-Fi on, on the screen of my iPhone 5? It has only started occurring since I updated to iOS 7.0.3. Thanks.

  • Aaa authentication tacacs+

    Does anyone know what this ACS 5.4 cli config command is for, "aaa authentication tacacs+......". It cannot be found in the cli reference guid. b.r. Thomas                   

  • Safari Hanging with OS X upgrade.

    I have a imac mid 2007 2.4GHz Intel Core 2 Duo with 4GB of Ram. I recently upgraded this to OS X Lion and have been experiencing Hangs with my Safari that require a hard boot restart. This seems to happen after the machine has been running for a peri

  • Help with JEditorPane :). Please help...

    Hi there, I can not find out how the JEditorPane get's its' information on which Text to show. I know that there is a Document, representing the text information and an EditorKit, offering main functionality for editing, but what methods are actually

  • Outlook 2011 (Mac) & MacMail...iCloud

    Have you been getting this message a lot when trying to send and view sent messages on Microsoft Outlook 2011 for Mac? I am having a very frustrating time getting to work as well as my other accounts. Please send feedback. ~Chris