I have a field to enter soc. sec. no. that purposely does not have a label. Just a placeholder that says "enter ssn".
I created one of the masks provided from cf5 for a soc sec no that only shows the last four digits as ***-**-1234
Field one is hidden so you cant see the numbers that are being typedg in. Field two displays the ***-**-1234 as you finish typing.
There is a cf5 post on how to do this. JS and css.
Without any data in field one, the placeholder and the tool tip displays the purpose of the field.
The problem is that once data is entered, the tooltip disappears. And I don't want a label for field one or two.
When there are no typed numbers in the field one, the placeholder and the tooltip states "enter ssn". When numbers are entered, the placeholder disappears. The tooltip is also now gone.
Is there any way to keep the tooltip so that if you enter numbers and then hover over the "hidden" field one which per the css does not show numbers (even though the numbers are in the field as 1231231234) that the tooltip will still show the purpose of field one?
Basically to allow the tooltip to always act as a label with or without data in the field?
Thanks in advance.
I created one of the masks provided from cf5 for a soc sec no that only shows the last four digits as ***-**-1234
Field one is hidden so you cant see the numbers that are being typedg in. Field two displays the ***-**-1234 as you finish typing.
There is a cf5 post on how to do this. JS and css.
Without any data in field one, the placeholder and the tool tip displays the purpose of the field.
The problem is that once data is entered, the tooltip disappears. And I don't want a label for field one or two.
When there are no typed numbers in the field one, the placeholder and the tooltip states "enter ssn". When numbers are entered, the placeholder disappears. The tooltip is also now gone.
Is there any way to keep the tooltip so that if you enter numbers and then hover over the "hidden" field one which per the css does not show numbers (even though the numbers are in the field as 1231231234) that the tooltip will still show the purpose of field one?
Basically to allow the tooltip to always act as a label with or without data in the field?
Thanks in advance.