Topic: WML woes (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=11178" title="Pages that link to Topic: WML woes (Page 1 of 1)" rel="nofollow" >Topic: WML woes <span class="small">(Page 1 of 1)</span>\

 
norm
Paranoid (IV) Inmate

From: [s]underwater[/s] under-snow in Juneau
Insane since: Sep 2002

posted posted 03-27-2004 01:34

How the heck do I get this to submit, so the post variable is passed to my target page? I figured that there would be some kind of a button or something that would be clickable on the phone(actually a phone/wap emulation). I can fill in the feild, but nothing happens, no matter what I click on or push.

here is the code:

code:
<?php
header("Content-Type: text/vnd.wap.wml");
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
?>
<wml>
<card id="start">
<p>

Enter Last Name:<br/>
<input title="Last Name" name="name" maxlength="40"/>
</p>

<do type="accept">
  <go href="wireDap.wml" method="post">
   <postfield name="name" value="$name"/>
  </go>
</do>


</card>
</wml>



any one got a clue what is wrong?

MajorFracas
Nervous Wreck (II) Inmate

From:
Insane since: Jul 2003

posted posted 03-31-2004 17:13

I thought the <do> action was triggered by one of the buttons on the phone. Is this not the case?

norm
Paranoid (IV) Inmate

From: [s]underwater[/s] under-snow in Juneau
Insane since: Sep 2002

posted posted 04-01-2004 17:31

.....well it's kinda hard for me to say, because I'm just using the emulation program fro r phones on my computer. But pushing any/every button on various emulated models doesn't do a darn thing.

I'm in southeast Alaska and we won't have any WAP service until July, so I'm trying to stay ahead of the curve.

As a work around I passed my variables using an href, but I would really prefer to use Post instead of Get. But at least my application works! A user can search the directory of State employees (LDAP), choose who they want to contact and call them with the push of a button. Or at least they will be able to in July....



/* Sure, go ahead and code in your fancy IDE. Just remember: it's all fun and games until someone puts an $i out */

MajorFracas
Nervous Wreck (II) Inmate

From:
Insane since: Jul 2003

posted posted 04-08-2004 17:58

Cool app.

Do you have this page posted somewhere so I could try it out?

norm
Paranoid (IV) Inmate

From: [s]underwater[/s] under-snow in Juneau
Insane since: Sep 2002

posted posted 04-08-2004 20:57

http://intra1.admin.state.ak.us/wireless/search.wml

if you do a search for 'Knowles' and then choose James Knowles you should call my office number.

/* Sure, go ahead and code in your fancy IDE. Just remember: it's all fun and games until someone puts an $i out */

[This message has been edited by norm (edited 04-08-2004).]

MajorFracas
Nervous Wreck (II) Inmate

From:
Insane since: Jul 2003

posted posted 04-21-2004 20:00

Well it works.
Nice talking to you, James.

--David

norm
Paranoid (IV) Inmate

From: [s]underwater[/s] under-snow in Juneau
Insane since: Sep 2002

posted posted 04-21-2004 20:47

Right-On....!

Thanks David for checking this out, I'm so excited that this works in the 'real world'. Sorry about being a bit abrupt on the phone, I was in the middle of a meeting with two webmasters from another department who don't think one of the apps I've been asked to build should be built......Politics.

BTW- James is my first name, but only the IRS calls me that. I'd hate for you to keep that kind of company, so let's just stick with 'Norm'.

/* Sure, go ahead and code in your fancy IDE. Just remember: it's all fun and games until someone puts an $i out */

MajorFracas
Nervous Wreck (II) Inmate

From:
Insane since: Jul 2003

posted posted 04-21-2004 22:27

My apologies for catching you at a bad moment. And Norm it is...
Cheers,
David



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu