This is a migrated thread and some comments may be shown as answers.

Pattern Match

0 Answers 145 Views
Validation
This is a migrated thread and some comments may be shown as answers.
Andre'
Top achievements
Rank 1
Andre' asked on 12 Sep 2012, 05:23 PM
I am using the pattern attribute to do validation on a textbox I am using ^http expression to make sure the text entered starts with http but it doesn't seem to work properly.  The only valid input is http exactly here is the html being rendered - 

<input class="k-textbox k-textboxAd1" id="id" name="name" pattern="^http" type="text" validationmessage="Please enter a valid URL it must begin with http(s)" value="" />

Am I doing something wrong?

No answers yet. Maybe you can help?

Tags
Validation
Asked by
Andre'
Top achievements
Rank 1
Share this question
or