Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
Now we want to create a magazine subscription system, which requires the user to enter an Email and password twice. The password should be the same, and the password must be secure, so it must include (! @ # $ % ^ & * +; :) Enter the user's phone number, which can be up to 20 characters long. You must select a credit card, enter the card number, and the card number is 15 characters. The procedure is as follows, let's take a look.
Public sub OnSubmit (source as Object, e as EventArgs)
If Page. IsValid then
"Data warehouse receiving and other operations
<H3> <font face = "Verdana"> Subscribe to lifestyle magazine </font> <Form runat = server>
<Hr width = 600 size = 1 noshade>
<Asp: ValidationSummary ID = "valSum" runat = "server"
HeaderText = "You must complete all the options"
DisplayMode = "SingleParagraph"
Font-Name = "verdana"
Font-Size = "12"
<! -- Sign-in -->
<Table border = 0 width = 600>
<Tr> <td colspan = 3>
<Table border = 0 cellpadding = 0 cellspacing = 0 width = "100%">
<Font face = geneva, arial size =-1> <B> Sign-In Information </B>
<Td align = right>
<Font face = Arial size = 2> enter your Email </font>
<Asp: TextBox id = email width = 200px maxlength = 60 runat = server/>
<Asp: RequiredFieldValidator id = "emailReqVal"
ControlToValidate = "email"
ErrorMessage = "your Email ."
Display = "Dynamic"
Font-Name = "Verdana" Font-Size = "12"
Runat = server>
<Asp: RegularExpressionValidator id = "emailRegexVal"
ControlToValidate = "email"
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to email@example.com. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.