Accessing form variables in the workflow
how to access the field variables defined in the form in the workflow.
Easiest method:
Name the form field global.myfield. Then in the workflow, reference global.myfield.
Similar Messages
-
To use the form variables in a workflow
How can we use the form variables in the workflow..How will we refer the variables?Simply referring by name not working.
hi,
you can use the form variable by define the field name like this in ur form:-
<Field name=':variables.fieldVariableName'>
<Display class='Label'>
<Property name='title' value='XYZ'/>
</Display>
</Field>
and u can access this variabe simply
<ref>fieldVariableName<ref>
in ur workflow.
thanx
shant -
Access the adobe form data in the workflow container for further processin
HI,
I am using HCM processes and Forms. I need to access the form data in the workflow container once the workflow kicks off.
I need to access these data as would need it for further processing in the workflow.
I know that TS17900110 allows to import form conatiner to
-> WF Container in the field name and value pair. But I need to access a lot more fields than what is in the task. Is there a standard task which allow to retrieve all the fields in the form in one task or do I need to develope a custom class to do that. If so could you please provide some clue as in how to code this specific requirement as i am somewhat new to OO ABAP.
Thanks...hi,
in the livecycle designer under libary tab u have webdynpro tab--->choose submit to sap button and place it in the adobe form ur designing. u can use this button to trigger the code that u have written in webdynpro java.
for eg if u have
a value node details
and under that two value attr fname,lname
import the model (Insertdata---it has two import param fname and lname)u need for updating the data to r3 system.
in the ctrller have a method submit.Here write the code to insert fname and lname into the db.
IPrivateMyForm.IDetailsElement elem = wdContext.nodeDetails().currentDetailsElement();
Insertdata_Input input = new Insertdata_Input();
wdContext.nodeInsertdata_Input().bind(input);
input.setFname(elem.getFname());
input.setLname(elem.getLname());
try
wdContext.currentInsertdata_InputElement().modelObject().execute();
wdContext.nodeOutput().invalidate();
catch (Exception ex)
{ ex.printStackTrace();}
ul bind details to the datasource.
when u edit ur interactive ui element these attr(fname and lname) vl be visible under dataview tab u can drag and drop them to the form
now add submit to sap button in ur form.
this button correspond to the onactionSubmit dat u have written in the ctrller.
so wen u click this the data vl be inserted
Regards
Jay -
CAN I PASS FORM VARIABLES TO THE DATABASE PROCEDURE IN PERSONALIZATION
When I try to use form variable in the database procedure call from personalization I get the attached error.
Under forms personalization
From Actions tab --> builtin --> Execute Procedure when I call a database procedure and pass one of the form variable as parameter I get "ora-01008 couldn't be validate" error
Can we pass on form variables to the database package using personalization ? If yes, then is this the right way?
Message was edited by:
omitchelI tried customizing the Quoting Form, it works.
What you have done is correct, but this is how you call it
='begin
db_proc('''||${item.qothddet_main.quote_name.value}||''');
end'
here
qothddet_main : block name
quote_name : item name
Thanks
Tapash -
Providing access to Variables in the Query Designer
Greetings experts and fellow consultants,
I have a simple question, did a search and did not come up with much of an answer. Currently, we have a system with a role for BI Power Users in order for them to create ad-hoc queries. An issue we found was that these power users were not able to view variables within the query designer:
Under the "Characteristic Restrictions" pane, the variables show up as (Display Not Allowed) under their associated InfoObjects. This is presenting an issue (understandably) and I would like to provide access for these power users to see the variables.
My question is, are there any circumstances where I would want to restrict which variables are shown to the power user? Right now, I plan to allow display access to all variables (via S_RS_COMP+S_RS_COMP1 for those informed on Security). Just trying to brainstorm on whether there might be scenerios where I would want to hide certain variables.
Many thanks to all opinions, as always!Suresh, in my above post I knew how to enable this. I just wanted to know in regards to security whether there were any exposures. Apparently, I could not find any and the changes went through without issue. The way you enable display of variables in the Query Designer is the following:
S_RS_COMP:
RSINFOAREA '*'
RSINFOCUBE '*'
RSZCOMPTP 'VAR'
ACTVT '03'
S_RS_COMP1:
RSZCOMPTP 'VAR'
RSZCOMPID '*'
RSZOWNER '*'
ACTVT '03'
Hope this helps. Of course, adjust the field values are you see fit but the minimum requirement is that RSZCOMOPTP 'VAR' (Variables) and ACTVT '03' (Display). -
Access a variable in the Adobe form for Java Scripting
Hi,
I am unable to know how to access the variable in a Adobe form.
The variable is field of an internal table. My adobe form structure is as follows
MAIN_PAGE->FORMSET->FirstFORM->EXT.
in the EXT subform the variable(cust) exists.
The cust is in turn an internal table.Hello Sreelatha,
I think we cannot hide a page. as in, page is the main container. In a container, we can hide any field using some scripting. Even though if we hide the field, it is present on page but not visible.
but if some logic is there, please let me know.
Thanks,
Rakesh.
Edited by: rakhi966 on Sep 8, 2011 8:54 PM -
Access Session variable across the hosts
Hi,
I am facing an issue. Please find the following scenario.
I have a login page which is under a secure host. When the login is successfull, the control will be directed to a non secure host, where I have to access a session variable which is set in the LoginPage (which is a secure host). Can I do this?
Can any one help me in solving this
regards,
Jo
Message was edited by:
JoshyzJavaTo retreive a varable from another JVM or indeed another host you would need to use Remote Method Invokation (RMI), calling getSecureSessionID() or isSessionOK(sessionID) or whatever from the programme running in the remote JVM.
The method in general is floored unless the RMI is secure, I have no experience of encrypting this but I'm sure it is possible. You're non-secure-host must have the funcionality to communicate with the secure-host securly, otherwise the secure-host is not secure.
Bamkin -
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)> -
Instantiating a form as different views and merging them at the end of the workflow.
Hi,
I have a big doubt in implementing one of the crucial part of our workflow design.It goes like this.
1.we have a form which is mainly classified into five types and a total of 16 subforms.
2.the five types in which the form is divided is based on the approver and the type. of requests.
3.different views of the whole same form have to be sent to the five approvers.
4.once the approvers approve the request,a wait point must be present in the workflow,where it will wait for all the views of the form (which are approved) and must merge them into one single pdf form ie., the original form.
so the change in the views of the total form must be reflected in the main form at the end while it is merging.
also all the views of the form are to be merged in to one for the sake of arhiving and rendering it to pdf.
so my questions are..
1.How to add multiple views of the main form (xdp) in the workflow separately as individual xdp templates(based on the five types i mentioned)?
2.How to merge the form views again in to single form or how to make the changes reflect in the main from when changes are made in their views.?
thank u..
Raghava Kumar V.S.S.MOBILE PHONE (BIRMINGHAM) LIMITED
BUY UNLOCKED BRAND NEW MOBILE PHONES AND LAPTOP,DIGITAL CAMERA,GAMES,PLASMA TV.They are brand new and sealed in an original company box with complete accessories and one year international warrantee.
NOTE : Minimum Order : 3 unit and get 1 free
Sample Order...1unit to 5units
Bulk Minimum Order : 10unit and get Extra 3unit
Shipping fees : free Shipping : FedEx, DHL or UPS
Delivery Time : 38hrs/48hrs.
MOBILE PHONE (BIRMINGHAM) LIMITED
Address: 376 COVENTRY ROAD, SMALL HEATH, BIRMINGHAM, WEST
MIDLANDS, B10 0XE
+447024036361
Contact Person :Thomas larry
Sales Manager
DO CONTACT US [email protected]
DO CONTACT US [email protected]
DO CONTACT US [email protected]
Nokia Phone.
Nokia N95..$2800USD
Nokia N93..$250USD
Nokia N92.$200USD
Nokia N97...$280USD
Nokia N96...$280USD
Nokia N83.$175USD
Nokia N91.$180USD
Nokia N90.$170USD
Nokia N70.$150USD
Nokia N71.$155USD
Nokia N72..$160USD
Nokia N73..$165USD
Nokia E90 COMMUNICATOR..$300USD
Nokia 7360.$165USD
Nokia 7380..$175USD
Nokia 8800 sirrocco...$200usd
Nokia 7370..$170USD
Nokia 8800$140USD
Nokia 8801.$145usd
Nokia N80.$160USD
Nokia 7710.$145USD
Nokia 7610.$120usd
Nokia 9300$145USD
Nokia 9500$170USD
NOKIA 6230 for........$130usd
NOKIA 6230i for.......$140usd
NOKIA 6260 For........$130usd
NOKIA 9300 For........$130usd
NOKIA 9500 For........$140usd
NOKIA 7610 For........$150usd
NOKIA 6680 For........$130usd
NOKIA 6682 For........$140usd
NOKIA 7650 For........$150usd
NOKIA E60 for.........$150usd
NOKIA E61 for.........$155usd
NOKIA E70 for.........$160usd
Motorola Phone
Mitac MIO 8930$280usd
Motorola razor v3$130usd
Motorola razor v3 pink edition..$130usd
Motorola v3X..$140usd
Motorola MPX300.,$150usd
Motorola V3i..$150usd
Motorola L7$140USD
plasma sony 32?'.$400usd
MOTOROLA SLVR V8 For........$150usd
MOTOROLA A1000 For...........$160usd
MOTOROLA A1010 For...........$200usd
MOTOROLA MPX 220 For........ $120usd
MOTOROLA MPX 300 For........ $140usd
Sony Ericsson w950i.........$170usd
Sony Ericsson w900i.$140usd
Sony Ericsson W800i.$135usd
sony Ericsson w700..$130usd
sony Ericsson w600i.$125usd
sony Ericsson w300..$120usd
sony Ericsson w950..$200usd
Sony Ericsson p990i.$145usd
Sony Ericsson m600i.$175usd
sony Ericsson m600..$170usd
Sony Ericsson p990..$140usd
Sony Ericsson p910i.$125usd
SONY ERICSSON K700i For......$130usd
SONY ERICSSON k750i For......$140usd
Sony Ericsson W810i For......$155usd
Sony Ericsson S700i For......$140usd
Sony Ericsson: Z1010 For.....$160usd
SAMSUNG D600 For......$120usd
SAMSUNG D720 For......$130usd
SAMSUNG D730 For......$135usd
SAMSUNG D800 FOR......$135usd
SAMSUNG D820 For......$140usd
SAMSUNG Z500 For......$150usd
Apple iphones.................$200usd
Apple ipods 80 GB............$180usd
Apple ipods 60 GB............ $150usd
PlayStation 3 20 GB.............$220USD
Playstation 60 GB..................$250usd.
i-mate jas ja and other.
Treo 650 for. $150usd
Treo 700 for. $180usd
Sick kick for $140usd
Side kick 2 for..$130usd
Side kick 3 for..$150usd
Eten m 500 for.. $100usd
Dvx-pod for.. $50usd
i-mate jas jar for. $160usd
i-mate jam for.. $170usd
i-mate k jam for.$180usd
Eten m 500 for.. $150usd
Treo 650$130usd
Treo 600$120usd
Treo 700w..$140usd
Pioneer CDJ-1000MK3 ------------$900.00
Pioneer DJ Effector - Red-----------$350.00
Pioneer System Case (CA-CMX5).......$450.00
Pioneer CDJ-800MK2 Digital Vinyl Turntable=--$520.00
Pioneer Dual Rackmount CD Player--------$600.00
Pioneer Pro DJ Mixer -------------$720.00
Pioneer Rack mount pro DJ mixer---------$780.00
Pioneer 96Khz / 24 bit digital mixer.-----$1,000.00
Pioneer Flat Speakers (ea.)-------------$1,100.00
Pioneer Professional DVD Turntable-------$2,000.00
Pioneer Pro DJ 96Khz 24bit Mixer---------$2,200.00
Pioneer Professional DVD Turntable------$2,220.00
Pioneer Djm-800 4 Channel Dj Mixer W/midi---$1,000.00
Pioneer DJM-400 Professional DJ Mixer------$300.50
Pioneer Pro DJ DJM1000 Pioneer Top of the Line
D---$2,100.95
Pioneer DJM-1000 Professional Club DJ
Mixer----$2,110.00
Pioneer Super DJ mixer - Pioneer DJM909------$900.00
Pioneer DJM-600-------------------------------$750.00
Pioneer CDJ 800 MK II / DJM 600 CD DJ
Package----$2,100.00
Pioneer DJM-1000 Mixer--------------$2,200.00
Pioneer Model: DJM-600K--------------$800.00
Blackberry
Brand new BlackBerry 8700r....$200
Brand new Blackberry 8700c....$200
Brand new Blackberry 8700g....$210
Apple Iphone.....................for Just $400
APPLE LAPTOPS.
Apple NoteBook Laptop for just $550
Apple Mac Book...for just $450
Apple Mac Pro .....for just $500
Apple Laptop 17inch for just....$400
APPLE IBOOK 12" 1.33GHZ...............$350
APPLE IBOOK 14" 1.42GHZ.....................$380
APPLE IBOOK G4 1.33GHZ..................$370
APPLE IBOOK G4 1.42GHZ....................$400
APPLE G4 POWERBOOK 1.5GHZ SUPERDRIVE WITH 15
INCHDISPLAY........$580
APPLE G5 POWERMAC 2.0GHZ DESKTOP
COMPUTER...................$620
APPLE G4 POWERBOOK 1.5GHZ SUPERDRIVE WITH 17 INCH
DISPLAY........$550
All Toshiba laptops
Toshiba Satellite PRO L10.. $320
Toshiba M200 $500
Toshiba R100 $450
Toshiba Qosmio E10 $750
Toshiba Satellite PRO L20.. $250
Toshiba M100 $680
Toshiba M300 $740
Toshiba Portege A200. $320
Toshiba Satellite L10 $330
Toshiba Qosmio F20 $500
*Dell Laptops
Dell Latitude D600 $290
Dell Latitude D500t.. $200
Dell Inspiron 6000 $350
Dell Latitude D505 $340
Dell Latitude D610 $460
Dell Latitude D510 $320
Dell Inspiron 9300 $530
Del Xps M2010..............................$400
Del Xps M1710..................................$350
Sony Laptops
Sony VAIO VGN-T1 $680
Sony VAIO VGN-FS315 $420
Sony VAIO VGN-S3 $450
Sony VAIO VGN-TX1.. $840
Sony VAIO VGN-FS215 $310
Sony VAIO VGN-S4 $470
Sony VAIO PCG-K35.. $550
Sony KDE-61XBR950 Television..3000usd
Sony KDE-42XBR950 Television..1000usd
Sony KDE-42XBR950 Television.1000usd
Sony PFM-42X1/S Television.500usd
Sony KDE-42XS955 Television..550usd
Sony FWD-50PX1/S Television1200usd
Sony KLV-32M1
Television400usd
SAMSUNG PLASMA TV
SAMSUNG HPP3761 Plasma TV $610
Samsung PPM42M5S Plasma Display $505
Samsung SPP4251 Plasma TV $700
Samsung PPM42M5H Plasma Display $550
Samsung HPR4252 Plasma $680
Samsung HPR4262 Plasma TV $450
Samsung HPR4272 Plasma $560
Samsung PPM50M5H Plasma Display $870
Samsung HPR5052 Plasma $670
Samsung HPR5072 Plasma $780
Samsung HPP5581 Plasma TV $780
Samsung PPM63H3Q Plasma Display $700
Samsung HPR6372 Plasma $820
PANASONICS TELEVISIONS
Panasonic TH-42PD50U Television600usd
Panasonic TH-42PX50U Television..1000usd
Panasonic TH-50PX50U Television..1500usd
Panasonic TH-42PWD6UY Television.500usd
Panasonic TH-42PD25U/P Television400usd
Panasonic TH-42PHD8UK Television450usd
Panasonic TH-65PHD7UY Television..2500usd
Pioneer PDP-5050HD Television.1000usd
Panasonic TH-37PX50U Television.500usd
Panasonic TH-42PX500U Television800usd
HITACHI PLASMA TV
Hitachi CMP4211u Plasma $850
Hitachi CMP4212u Plasma $350
Hitachi 42HDF52 Plasma HDTV $400
Hitachi 42HDT52 Plasma TV $440
Hitachi 55HDS52 Plasma HDTV $480
Hitachi 55HDT52 Plasma TV $650
Hitachi CMP-55HDM71 Plasma $420
AOC ENVISION PLASMA TV
AOC Envision A42W64 Plasma $400
MAXENT PLASMA TV
Maxent MX-42VM7 Plasma EDTV $370
Maxent MX-50X2 Plasma $300
NEC PLASMA TV
NEC 42VP5 Plasma TV $400
NEC 42VM5HA Plasma TV $470
NEC 42VR5HA Plasma -
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. -
How can I get the variable with the value from Thread Run method?
We want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that scope of the variable gets lost resulting to null value in the called method/class..
How can I get the variable with the value?
This is sample code:
public class SampleSynchronisation
public static void main(String df[])
sampleThread sathr= new sampleThread();
sathr.start();
System.out.println("This is the value from the run method "+sathr.x);
// I should get Inside the run method::: But I get only Inside
class sampleThread extends Thread
public String x="Inside";
public void run()
x+="the run method";
NB: if i write the variable in to a file I am able to read it from external method. This I dont want to doWe want to access a variable from the run method of a
Thread externally in a class or in a method. I presume you mean a member variable of the thread class and not a local variable inside the run() method.
Even
though I make the variable as public /public static, I
could get the value till the end of the run method
only. After that scope of the variable gets lost
resulting to null value in the called method/class..
I find it easier to implement the Runnable interface rather than extending a thread. This allows your class to extend another class (ie if you extend thread you can't extend something else, but if you implement Runnable you have the ability to inherit from something). Here's how I would write it:
public class SampleSynchronisation
public static void main(String[] args)
SampleSynchronisation app = new SampleSynchronisation();
public SampleSynchronisation()
MyRunnable runner = new MyRunnable();
new Thread(runner).start();
// yield this thread so other thread gets a chance to start
Thread.yield();
System.out.println("runner's X = " + runner.getX());
class MyRunnable implements Runnable
String X = null;
// this method called from the controlling thread
public synchronized String getX()
return X;
public void run()
System.out.println("Inside MyRunnable");
X = "MyRunnable's data";
} // end class MyRunnable
} // end class SampleSynchronisation>
public class SampleSynchronisation
public static void main(String df[])
sampleThread sathr= new sampleThread();
sathr.start();
System.out.println("This is the value from the run
method "+sathr.x);
// I should get Inside the run method::: But I get
only Inside
class sampleThread extends Thread
public String x="Inside";
public void run()
x+="the run method";
NB: if i write the variable in to a file I am able to
read it from external method. This I dont want to do -
How can I get the variable with the value from Thread's run method
We want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that scope of the variable gets lost resulting to null value in the called method/class..
How can I get the variable with the value?
This is sample code:
public class SampleSynchronisation
public static void main(String df[])
sampleThread sathr= new sampleThread();
sathr.start();
System.out.println("This is the value from the run method "+sathr.x);
/* I should get:
Inside the run method
But I get only:
Inside*/
class sampleThread extends Thread
public String x="Inside";
public void run()
x+="the run method";
NB: if i write the variable in to a file I am able to read it from external method. This I dont want to doYour main thread continues to run after the sathr thread is completed, consequently the output is done before the sathr thread has modified the string. You need to make the main thread pause, this will allow sathr time to run to the point where it will modify the string and then you can print it out. Another way would be to lock the object using a synchronized block to stop the main thread accessing the string until the sathr has finished with it.
-
Delete/display/copy attachments in the workflow
Hello,
I'm creating a workflow which contains a pdf attachment. This attachment is created or inserted with the start form.
During the workflow I want to delete the attachment and include a new one. Another thing I want to do is attach the pdf document to an other BOR object.
The thing what I have done so far but didn't work:
I created an activity which moves the attachment to a method so I could work or change the attachment. I know their is an automatic binding with the container '_Attach_Objects' but I couldn't see the contents in the executed method when I read it out on the way below
Here a part of the method to get the content of the '_Attach_Object' container.
BEGIN_METHOD DISPLAY_ATTACHMENT CHANGING CONTAINER.
DATA attach TYPE SWC_OBJECT OCCURS 0,
ZSWC_OBJECT TYPE TABLE OF SWC_OBJECT.
swc_get_table container '_ATTACH_OBJECTS' attach.
SWC_GET_TABLE CONTAINER 'ZSWC_OBJECT' ZSWC_OBJECT.
BREAK-POINT.
END_METHOD.
With the binding SWC_GET_TABLE I don't get the appropriate values in the container.
How do I get the contents of the container in the method so I could delete the attachment on a nice way or to copy the content to a new BOR Object?
Kind regards,
Richard MeijnThe reason why I want to change/delete the attachment is that I create a workflow for a signature registration. The signature is on the pdf form. The signature is checked by employees and if the signature is not correct the workflow goes back to requestor to give in a new pdf document.
The first pdf document has to be removed from the workflow and from the document storage. If the signature is correct I want to copy the attached document to a business object with a GOS object.
Kind regards,
Richard Meijn -
How to tell what version of a document the workflow ran against?
I am using the OOB Approval workflow and in the workflow information I see a Document field, but that links latest version of the document. How can I tell what version of the document the workflow actually ran against?
Hi,
Set a variable in the workflow to be equal to the version of the document.
Now you can use this variable to update a column in the document library with the version and date the workflow was ran. Next time the workflow runs, update this column with next run details.
OR write this variable to workflow history. Hope it helps.
Regards, Kapil ***Please mark answer as Helpful or Answered after consideration*** -
Hello,
i´m using Livecycle designer/Formserver 7.2. I need to create accessibility form conforming to the standards (A, AA or C). Can it be done using this tools? How can I validate the conformidity of my forms? Any tool?
Thank youHello,
i´m using Livecycle designer/Formserver 7.2. I need to create accessibility form conforming to the standards (A, AA or C). Can it be done using this tools? How can I validate the conformidity of my forms? Any tool?
Thank you
Maybe you are looking for
-
Is there a way to add a static route in an Ipod touch ?
I am trying to get the ipod touch to configure correctly for our wireless network. The wireless side does not provide DNS or DHCP directly . Rather this is done from a different subnet . This assists to a small extent with our wirless security in tha
-
WON'T INSTALL AT ALL ??
i installed my itunes 4 about 6 months ago and i had to uninstall SP2 and downgrade it to SP1 to make it work. I recently decided to upgrade my software (itunes4->itunes6) and so first i tried to upgrade my drivers on ipod mini from 1.2 to 1.4 .. the
-
How to locate my stolen Ipad Air
can you please help me to locate my Ipad Air even though its accessed to the internet or wifi? Thanks you!
-
UserTransaction or JDBC transaction
Hi, please give suggestions... We are using a application server with connection pooling jsp and servlets are used in project for transactions Is userTransaction is better or JDBC transaction is better userTransaction may be implemented like this try
-
MacBook Pro DVD/CD not engaging
My 15 inch MacBook Pro will not play DVD's or CD. There are no errors - the discs are not engaging and just ejecting. I have tried several store bought DVDs and CD's. My Apple Care just expired earlier this month. Thanks for any advice!