RcBuilder@walla.com
call centre: 054-5614020

asp.Net validators – custom code

Posted by: RcBuilder  /   Category: getElementById / HTML / Validators   /   No Comments
28
Sep
2014

asp.Net validators - custom code asp.Net validators: * Page_Validators // return all the client page validators * Page_Validators // return single validator by index * validator properties: controltovalidate isvalid ... * ValidatorOnSubmit() // return true/false indicates if the current page is valid * example : // add border to each input failed to validate function WebForm_OnSubmit() { if (typeof (ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false).

Read more

Regular Expressions in javascript

Posted by: RcBuilder  /   Category: JAVASCRIPT / Regular Expressions / Validators   /   2 Comments
17
Jun
2014

Regular Expressions in javascript example1 var input = 'aaa bbb RcBuilder ccc ddd'; var pattern = 'Rcbuilder'; var regex = new RegExp(pattern, 'i'); // i = ignore case var isMatch = regex.test(input); // isMatch = true alert(isMatch); example2 var input = document.location; var pattern = 'index.htm'; var regex = new RegExp(pattern, 'i'); // i = ignore case var isMatch =.

Read more

asp net phone validator

Posted by: RcBuilder  /   Category: Regular Expressions / SOURCE CODE / Validators   /   1 Comment
11
May
2014

asp.net phone validator <asp:RequiredFieldValidator runat="server" ControlToValidate="txtPhone" Display="Dynamic" Text="Necessary" /> <asp:RegularExpressionValidator runat="server" ControlToValidate="txtPhone" Display="Dynamic" Text="Incorrect Phone" ValidationExpression="\+?+".

Read more
  • פיתוח מערכות
  • פתרונות טכנולוגים
  • קידום אתרים
  • בניית אתרים