|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Problem in WML code
I am trying to send the values of 'user_name' and 'user_password' from "LoginForm.cfm" to "FormValidation.cfm" using 'post' method, but the code displays errors. Can someone please help me whats wrong with this code.
<!---LoginForm.cfm ---> <CFCONTENT TYPE="text/vnd.wap.wml"> <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card id="LoginForm" title="Login Form"> <do type="accept"> <go href="FormValidation.cfm" method="post"/> <postfield name="user_name" value="$(user_name)"/> <postfield name="user_password" value="$(user_password)"/> </do> <p> Name: <input type="text" name="user_name"/></br> Name: <input type="text" name="user_password"/></br> </p> </card> </wml> ----------------------------------------------------------- <!---FormValidation.cfm ---> <CFCONTENT TYPE="text/vnd.wap.wml"> <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card id="response" title="Thanks"> <p> <cfoutput>#form.user_name#</cfoutput><br/> <cfoutput>#form.user_password#</cfoutput><br/> </p> </card> </wml> |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Problem in WML code |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|