Mobile Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreMobile Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 18th, 2007, 01:06 AM
Simon43 Simon43 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2007
Posts: 1 Simon43 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 m 9 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreMobile Programming > WML - WML variable problem in form submission


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway