/    Sign up×
Community /Pin to ProfileBookmark

Could any one help me with some script or example code to encode the letters entered in a form field?!!!

like a field to capture the name “John Alexander Bell” an in other field displays something like “JEIMVD547” 7 characters lenght upperc.
this is for generate a unique key, associated with a suscription.

ok..thanks i really appreciate your suggestions..
Im not a real programmer… designer actually… that`s why this kind of codes makes me some headache!

1000 thanks!!!
RT

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@VladdyJul 03.2006 — should be done on the server side. md5 works fine in PHP
Copy linkTweet thisAlerts:
@ExuroJul 03.2006 — This should really be generated server-side instead...

A few questions that might be helpful to answer:

Does the user ever have to use the code?

Is it for a login or something?

Does it [i]have[/i] to be only 7 character long?

(I really think we just need a more in-depth explaination of what this code is used for)
Copy linkTweet thisAlerts:
@RterresauthorJul 03.2006 — ok..

the code key is for print some document after filling the form..

the procces is this..

the user fills the form..

send this info to a database...

the code key is generated in a "hidden field" based on the "Client Name" field

the business db admin can retrive this code making some query...

then the user make a call to obtain this code from the business (lawyers firm)

and later the user, use some page to put the key and print some document, related and based on the previously captured info...

yes is a kind of messy... but requirements are too!!!!

thanks!!!!!
×

Success!

Help @Rterres 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,
)...