Wml To Xhtml -- Form Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Wml To Xhtml -- Form Error

    Hi, I hope that someone can help me.
    I have converted a wml script to a xhtml script. There is one part i'm having problems with. On my site there is a couple of dropdown boxes, and in the wml script the option of the dropdown box is selected acording to the value in my database, but with the xhtml code it always select the first option of the dropdown box.

    #2
    Hi, I hope that someone can help me.
    I have converted a wml script to a xhtml script. There is one part i'm having problems with. On my site there is a couple of dropdown boxes, and in the wml script the option of the dropdown box is selected acording to the value in my database, but with the xhtml code it always select the first option of the dropdown box.[/b]
    I got it right.

    Comment


      #3
      you have to start with form tag than the select tag etc... and end everything agein with form tag
      Advertise your mobile site for FREE with AdTwirl

      Comment


        #4
        <form action="blah.asp" method="post">




        Select Something:

        <select name="service">
        <option value="Nothing_Selected">Select Something</option>
        <option value="option1">Display Text</option>


        </select></p>



        <input type="submit" name="cmd" class="button" value="Send SMS"/> <input type="submit" name="cmd" class="button" value="Clear"/></p></form>

        That is a the way it has to be done. You have to nest stuff in the

        tags in a form aswell else is will be invalid mobile XHTML

        Comment


          #5
          urm..

          Comment

          Working...
          X