Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

HTTP Submit and only Capital letters in TextField

Avatar

Not applicable
Hi everyone,

I need a little help on my Visa application form

http://www.kyrgyz-embassy.org.uk/VisaForm.pdf



1) In text fields I would like to use only Capital Letters



2) I want to send VisaForm data in xml to URL

then data submitted to url should resend this xml to my e-mail

I have tried some example with http://stevex.net/dump.php

but instead sending me back I want to send it to my e-mail

If you know some similar scripts in php please send to my e-mail

djumaliev@gmail.com



Thanks in advance

Nurlan



PS: Yes, I've tried e-mail submit button, but my clients confused with Adobe Readers step by step function
1 Reply

Avatar

Not applicable
Hello Nurian,



For the first question, try this:




On Exit Event (of the Text Field)

> this.rawValue = this.rawValue.toUpperCase();



It transforms the text that you typed into the text-field to capital letters.



For the second...



> var email = "mailto:your@email.com";



> var submitAs = "XML";



> event.target.submitForm( { cURL: email, cSubmitAs: submitAs } );




I hope it helps you

Dan