×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    1

    xhtml and scripting language

    I have a problem with xhtml and Nokia6200 :

    I have a formulary and i must have two differents links to submit it :
    it is similar to :

    login <>
    password <>

    and two links using the inputs:

    Connect
    Create account



    in wml it is easy to do because input value are considered as variable and can be post by different way, putting several <anchor>

    But in xhtml i don't understand how to do that because their is no variable and no script for changing the "action" of the formulary.

    I tried to embed wml in xhtml but it doesn't work (or i didn't know the good way to do it).

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Singapore
    Posts
    101
    Hi,

    In XHTMl, you could use the form elements and the corresponding elements like text and password inputs for submissions. You might like to refer to the document "XHTML Guidelines" for reference. Below is a short sample code that might be useful to you :

    <form action="form-process.xhtml" method="get">
    Login : <input type="text" name="login" />
    Password : <input type="password" name="password" />
    <input type="submit" />
    </form>


    Best Regards,
    Valerie / Forum Nokia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×