|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
WML - WML variable problem in form submission
Hi - I'm having a problem submitting some data that a user has entered in my wml form.
All I'm trying to do is to submit some data to my server application. A couple of the data variables are 'preset' with values, whilst the value for the 3rd data-variable is entered by the user. Here is a code snippet, (omitting the initial wml for this card): <p> <input name="number" /> <anchor> <go method="get" href="mywebsite url etc"> <postfield name="number" value="$(number)"/> <postfield name="W" value="$wid"/> <postfield name="S" value="4"/> </go> Submit Data </anchor> </p> </card> </wml> (I've removed my server url because my post was being rejected...) Anyway, the values for W and S are passed ok to my server application. But for the user-data, the value that is passed is a weird value, actually '32056 32056number)' This strange value is even present before the user has entered any data (as viewing the source-code on my wap emulator shows). My wml code for the form submission is generated dynamically by my server application Perl script. Could that be where the problem lies? (I thought that it was maybe a problem with the $ sign, but the value/interpretation of the other variable $wid is all ok) I've Googled for code examples for a wml submission form, and I seem to be using the correct format... So where am I going wrong? Thanks for any help! Simon |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Mobile Programming > WML - WML variable problem in form submission |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|