Discussion Board
xhtml and scripting language
2003-07-22, 14:25
#1
Registered User
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).
Nokia Developer Expert
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
Forum Rules