Created
March 17, 2010 15:13
-
-
Save jos3000/335344 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<YForm> | |
<name>login</name> | |
<legend>Login</legend> | |
<submit_label>Login</submit_label> | |
<success_url>index.php</success_url> | |
<InputList> | |
<Input> | |
<name>login</name> | |
<label>Login</label> | |
<type>text</type> | |
<hint>Your phone number or email address.</hint> | |
</Input> | |
<Input> | |
<name>password</name> | |
<label>Password</label> | |
<type>password</type> | |
</Input> | |
</InputList> | |
<Rule> | |
<inputs>login,password</inputs> | |
<method>stoponfailure</method> | |
<RuleList> | |
<Rule> | |
<inputs>login</inputs> | |
<method>stoponsuccess</method> | |
<message></message> | |
<RuleList> | |
<Rule> | |
<validator>EmailAddress</validator> | |
</Rule> | |
<Rule> | |
<validator>Digits</validator> | |
</Rule> | |
</RuleList> | |
</Rule> | |
<Rule> | |
<inputs>password</inputs> | |
<validator>NotEmpty</validator> | |
</Rule> | |
<Rule> | |
<inputs>login,password</inputs> | |
<validator>ConsumerAuthenticate</validator> | |
</Rule> | |
</RuleList> | |
</Rule> | |
</YForm> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment