/    Sign up×
Community /Pin to ProfileBookmark

Copy form to Clipboard

I would like to create a form to be filled out that asks for

Customer Name

Account Number

Job #

Address

Customer Contact Number

Desired Appt Date

Desired Time AM or PM

Rep Name and Location

Supervisor Name

I would like to be able to just fill out a form that asks these questions and than click copy, so I can easily paste the completed information. Preferably I would like it to display in a table with questions on left and answers on the right. I know that this is possible through HTML with Javascript. It has been years since I have tried to do something like this and I could really use some help. Here is the basic HTML form I have now. I would like to have people fill out form, click copy and than be able to paste information to me in an e-mail which shows the questions with the answers.

[code]
<form>
Customer Name: <input type=”text” name=”custname”><br>
Account Number: <input type=”text” name=”account”><br>
Job #: <input type=”text” name=”job”><br>
Address: <input type=”text” name=”address”><br>
Customer Contact #: <input type=”text” name=”contact”><br>
Desired Appt Date: <input type=”text” name=”date”><br>
Desired Time AM or PM:<br> <input type=”radio” name=”time”

value=”am”>AM<br>
<input type=”radio” name=”time” value=”pm”>PM<br>
Rep Name and Location: <input type=”text” name=”repname”><br>
Supervisor Name: <input type=”text” name=”supname”><br>
<BUTTON onClick=”ClipBoard();”>Copy to Clipboard</BUTTON>
</form>
[/code]

Thanks

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@tenfoldAug 16.2013 — JavaScript can't copy to the clipboard. You might need to use the Flash Player or another method.
×

Success!

Help @thomeboy 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 6.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...