Use this forum for questions regarding adoption and functionality of OpenEMM
Moderator: moderator
-
philip
- Posts: 11
- Joined: Tue Jun 24, 2008 1:27 pm
Post
by philip »
Hi,
I try to access a POST-variable within a form send by another form.
The URL looks like this:
I tried this HTML-code in the form:
Code: Select all
<input type="text" name="email" value="$!email">
but it doesn't work.
Any ideas?
-
philip
- Posts: 11
- Joined: Tue Jun 24, 2008 1:27 pm
Post
by philip »
I found something in the ScriptAction_Documentation:
$requestParameters.get<String key>()
------
get value from HTML form field (key in upper case)
But following code doesn't work:
Code: Select all
#set ( $email = $requestParameters.getEMAIL() )
What am I doing wrong?
-
valead
- Posts: 2
- Joined: Thu Apr 15, 2010 10:51 am
- Location: Oslo
-
Contact:
Post
by valead »
Probably doesn't help you a lot now, but the documentation must be wrong - this works:
#set( $mail = $requestParameters.email )