Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Registration Form


Registration Form

Author
Message
shers
shers
Forum God
Forum God (12K reputation)Forum God (12K reputation)Forum God (12K reputation)Forum God (12K reputation)Forum God (12K reputation)Forum God (12K reputation)Forum God (12K reputation)Forum God (12K reputation)Forum God (12K reputation)

Group: Forum Members
Posts: 66, Visits: 170
Hi,



I've created a registration form within a table. The image is attached.

The Batch section is not aligned to the left of the table column becuase of it's format. When I changed the Address text box to Multiline, that too has moved to the right. The Css Class for all textboxes are 'textentry'. Please advice.



I would also like to know how to classify the Registraion form into two, as there are Students and Teachers. Please could any expert suggest what would be the best design?



Thanks
Attachments
Capture.JPG (1.8K views, 29.00 KB)
Mark
Mark
Forum God
Forum God (112K reputation)

Group: Moderators
Posts: 1.1K, Visits: 11K
Can you post the markup you are using for the page?
shers
shers
Forum God
Forum God (12K reputation)Forum God (12K reputation)Forum God (12K reputation)Forum God (12K reputation)Forum God (12K reputation)Forum God (12K reputation)Forum God (12K reputation)Forum God (12K reputation)Forum God (12K reputation)

Group: Forum Members
Posts: 66, Visits: 170
Here's the code.







Account Information






















































































Text="Full Name:">









ControlToValidate="FullName" CssClass="failureNotification" Display="Dynamic"

ErrorMessage="Full Name is required." ToolTip="Full Name is required.">*








Class Last Studied:

ropDownList ID="ClassList" runat="server">



ropDownList>

Year:

ropDownList ID="YearList" runat="server">



ropDownList>




ControlToValidate="ClassList" CssClass="failureNotification" Display="Dynamic"

ErrorMessage="Class is required." ToolTip="Class is required.">*



ControlToValidate="YearList" CssClass="failureNotification" Display="Dynamic"

ErrorMessage="Year is required." ToolTip="Year is required.">*













ControlToValidate="Email" CssClass="failureNotification" Display="Dynamic"

ErrorMessage="Email is required." ToolTip="Email is required.">*



ControlToValidate="Email" CssClass="failureNotification" Display="Dynamic"

ErrorMessage="Please enter a valid email address."

ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*





Text="Password:">





TextMode="Password">





ControlToValidate="Password" CssClass="failureNotification" Display="Dynamic"

ErrorMessage="Password is required." ToolTip="Password is required.">*



ControlToValidate="Password" CssClass="failureNotification" Display="Dynamic"

ErrorMessage="Password must be 6-12 non blank characters."

ValidationExpression="[^\s]{6,12}">*





AssociatedControlID="ConfirmPassword" Text="Confirm Password:">





TextMode="Password">





ControlToValidate="ConfirmPassword" CssClass="failureNotification"

Display="Dynamic" ErrorMessage="Confirm Password is required."

ToolTip="Confirm Password is required.">*



ControlToCompare="Password" ControlToValidate="ConfirmPassword"

CssClass="failureNotification" Display="Dynamic"

ErrorMessage="Passwords do not match." ToolTip=" ">*





AssociatedControlID="Address" Text="Address:">





TextMode="MultiLine" Height="78px">





CssClass="failureNotification" Display="Dynamic" ErrorMessage="Address is required."

ToolTip="Address is required.">*









BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px"

CssClass="textEntry" MaxLength="2">


 -


BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px"

CssClass="textEntry">





CssClass="failureNotification" Display="Dynamic" ErrorMessage="Phone is required."

ToolTip="Phone is required.">*





AssociatedControlID="PhotoUpload" Text="Upload Photo:">









ControlToValidate="PhotoUpload" CssClass="failureNotification"

Display="Dynamic" ErrorMessage="Only JPEG images are allowed."

ValidationExpression="^(([a-zA-Z]Smile|(\\{2}\w+)\$?)(\\(\w[\w].*))+(.jpg)">*









onclick="CreateUserButton_Click" />










annaharris
annaharris
Forum God
Forum God (8K reputation)Forum God (8K reputation)Forum God (8K reputation)Forum God (8K reputation)Forum God (8K reputation)Forum God (8K reputation)Forum God (8K reputation)Forum God (8K reputation)Forum God (8K reputation)

Group: Forum Members
Posts: 20, Visits: 21
The information that you have posted is not well enough for me to provide you a solution. Kindly post each and every detail of your registration form.
GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search