validate email id using jquery or javascript
function validateEmail(email) { var emailReg = /^(+@(+\.)+{2,6})?$/; return emailReg.test(email); } Usage:- if(validateEmail(emailString)){ alert('Your email is…
Read Morefunction validateEmail(email) { var emailReg = /^(+@(+\.)+{2,6})?$/; return emailReg.test(email); } Usage:- if(validateEmail(emailString)){ alert('Your email is…
Read MoreUse “Command”+”Shift”+”.(dot)” to enable display of hidden files To hide just press the above three…
Read MoreSay for example you have your checkbox field code in your twig file as below:-…
Read MoreFirst add the custom method to the validation library as below. Can you put this…
Read More<script type="text/javascript"> function isValideDate(datavalue){ var regexValidDate = /^(?:(0|1)(0||3)(19|20){2})$/; return regexValidDate.test(datavalue); } var dateToCheck = '06/01/2011',…
Read More<html> <body> <h1>Welcome to my Website</h1> <h4 id=”msg”>You will be redirected to another page in…
Read MoreUntar files in Current Directory tar xvf whatevername_yougive.tar If you want to untar in specified…
Read MoreFirst set your s3 bucket configuration in your .env file as below. S3_AWS_KEY=AKIAIDTXXXHUR7ABCDEF S3_AWS_SECRET=2XTTy0q8xxdaddffrtsfsdfdfgfhvcdsfsf S3_AWS_REGION=us-east-2…
Read MoreThe column which you want to wrap should be added the property called “contentOptions” where…
Read MoreIf you have used the query builder in yii 2.0.8 framework then to get the…
Read More