/    Sign up×
Community /Pin to ProfileBookmark

mask the input SSN as click on submit

Hi,

this is manish. i m new to this forum. this is my first post and any help would be highly appreciated.

my problem:

there is a screen on which user has to enter SSN no. This field is auto tabbed. the entry is like thie SSN:123-45-6789. for each pair (other then hypen) a text box is provided. text box entries are taken as prdcrSSN1(3 digit), prdcrSSN2(2 digit),prdcrSSN3(4 digit).

when user enters the value it appears to him. but as soon as user clicks on submit button all digits should be replaced by # (except last four i.e, prdcrSSN3). and # is visible to user.

i need a javascript for this.

kindly help me out ?

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@FangSep 18.2007 — Where are you submitting to?
×

Success!

Help @manish_suriya spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...