Hello Friends,
am working on asp.net project using c#, Sqlserver 2005 database.
I need validation for textboxes.
on my webpage i have 6 textboxes, i gave validations for this, its fine.
I need a validation for textbox, that user has the choice to enter in textboxes.
my textboxes are
ModelNo - TxtModelNo
SerailNo - TxtSerailNo
AssignedTo - TxtAssignedTo
Location - TxtLocation
CompanyTagNo - TxtCompanyTagNo
EmployeeTagNo - TxtEmployeeTagNo
from these textboxes, first 4 textboxes are required compulsory, and the last two are under choice.
These two textboxes are under choice
CompanyTagNo - TxtCompanyTagNo
EmployeeTagNo - TxtEmployeeTagNo
the user can enter in both textboxes OR
he can enter in one also OR
he can enter in both also
BUT both should not be empty.
Please help,
Thanks