/    Sign up×
Community /Pin to ProfileBookmark

Javascript help!

Hi, I am looking for the JavaScript for the following situation. Any help would be greatly appreciated!!!:

I am creating a form on my website (using Dreamweaver) to collect resume information from users. I have created a Spry Accordion within the form to organize the data using the different tabs of the accordion. Within each accordion tab, I’ve created blank fieldsets to collect specific data from the users.

My dilemma is as follows: I need to make several checkboxes within a fieldset copy that fieldset into a different accordion panel. Also, I need the copied fieldset to have a different and specific id name.

I apologize in advance if this sounds confusing and complex. Your help is much appreciated!!!

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@multimediocrityAug 21.2009 — Are you saying that you will send the boxes the user checked to a new panel?
Copy linkTweet thisAlerts:
@aliatsisauthorAug 21.2009 — Well, the checkbox would exist inside a fieldset with other text boxes and form fields. I want all the data from the various form fields within the fieldset to copy to a similar blank fieldset on another panel when a specific checkbox is selected.

I've figured out, for the most part, a way of doing this already since I've posted this thread. But I would appreciate any suggestions you might have. Thanks for your reply.
Copy linkTweet thisAlerts:
@multimediocrityAug 21.2009 — Alright. I assume, since you're in the Javascript board, that both fieldsets are on the same frame, correct?
Copy linkTweet thisAlerts:
@multimediocrityAug 21.2009 — Actually, you might want to add this to the Dreamweaver thread. The solution I'd give yuo would be to use getElementById and apply IDs to all your form elements and copy the value over to the other fieldset form with different IDs when an onclick function runs.

However, the Dreamweaver approach will probably be more in line with what you're asking (and probably simpler). Good luck!
×

Success!

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