You need to sign in to do that
Don't have an account?

Date field masked as '99/99/9999
I have date field on VisualForce page, which uses Calendar.js to Pick a Date.
When user types the date, then date should be masked as '99/99/9999'.
'/' should be auto-populated when user is typing in the date value.
When user types the date, then date should be masked as '99/99/9999'.
'/' should be auto-populated when user is typing in the date value.
This is my VF. I followed the link
http://th3silverlining.com/2010/01/08/masking-field-values-on-visualforce-input/#comments
But no luck, information from the link did not work
This is what i tried, this VF is exact copy of the VF from the link.
I have update JS as Static Resources are set as Public.
jquerymaskedinput JS.
Resolved! \o/ @manu123
Keep fit and add the following code above the line 21:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="http://digitalbush.com/wp-content/uploads/2014/10/jquery.maskedinput.js"></script>