473,320 Members | 1,991 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

javascript feature that add's info from a different page to a form

I am building a modeling agency website that will have a list of my models on there. I also have a form on my website that a client can fill out about their event. I want to be able to have a "book now" button on each model's page that the client can select that would then add that model's name ID # or name to that form. The form would be e-mailed to me.

It would kind of be like a "add to favorites" or "add to list" feature. I hope that makes sense.

What's the best way to accomplish this?

Thanks
Jan 22 '08 #1
6 1141
gits
5,390 Expert Mod 4TB
hi ...

welcome to TSDN ...

do you have some code to post? even the html would be good ... in case all pages you use are from your own domain it is very easy to fill a form with data from them ... but we should see the structure (frames, pages etc.) of your current construction :)

kind regards
Jan 22 '08 #2
hi ...

welcome to TSDN ...

do you have some code to post? even the html would be good ... in case all pages you use it is very easy to fill a form with data from them ... but we should see the structure (frames, pages etc.) of your current construction :)

kind regards
I will essentially be using joomla to create the site

I have no started building the site yet but for most my websites I use CSS (so no tables or frames) to build the template and customize from that

this site will have a home, models page (with 5 male model profiles 5 female model profiles), talent page, booking, and contact

I would simply want a "select model" button that would add that models name to the form.

Originally I thought about just having the models listed on the form..but once the model list gets much bigger this route won't be very efficient...

thanks!
Jan 23 '08 #3
gits
5,390 Expert Mod 4TB
should the form be able to submit more then on models-id (name)? so you have one page that is designed with css ... and you may have a select model button or checkbox ... when selecting a model how should the name appear in the form? a textbox with added name?

kind regards
Jan 23 '08 #4
should the form be able to submit more then on models-id (name)? so you have one page that is designed with css ... and you may have a select model button or checkbox ... when selecting a model how should the name appear in the form? a textbox with added name?

kind regards
Yes, multiple models, because the client may need more than one model. So as they browse through the site, they either click the "book now" button or "select model" checkbox and continue browsing through the rest of the pages.

Once finished, they can go to the "form" page and see their selections and add the required info such as event details time place etc..

On the form, the models can appear either in a textbox with the added name of the model or maybe as just text. I'm not sure which route would be easier...

Thanks!!
Jan 23 '08 #5
gits
5,390 Expert Mod 4TB
wait a moment please ... now its getting confusing a little bit ... you said you have one page ... no frames etc. ... so you should definitly know what the design should be now ... since javascript is able to 'live' in a document only ... when you have pageS that replace a the current page we have to store the current changes somewhere (may be a cookie or pass them with all further interactions) ... so you see ... without knowing more about your 'app-construction' there are too much possibilities and we will not come to e particular conclusion :)

kind regards
Jan 23 '08 #6
wait a moment please ... now its getting confusing a little bit ... you said you have one page ... no frames etc. ... so you should definitly know what the design should be now ... since javascript is able to 'live' in a document only ... when you have pageS that replace a the current page we have to store the current changes somewhere (may be a cookie or pass them with all further interactions) ... so you see ... without knowing more about your 'app-construction' there are too much possibilities and we will not come to e particular conclusion :)

kind regards
Hmm..now I'm confused too =( Maybe this will help?

http://www.elementmodelmgmt.com
I know this is just an image but I hope it shows what the homepage looks like and the site navigation.

Navigation: Models / Talent / About / Contact

Clicking on the models tab would open up a new page with thumbnails of each model, then clicking on the thumbnail would take the client to the model's profile, (Home>Models>Amy) where I would want the "select model" button/check box to be. Then client can navigate back to the thumbnail page and click on another model's picture and go to that profile, and select another model (Home>Models>Katie). When finished, client would click on contact (Home>Contact) and see those selections in the form, and continue to fill out the rest of the information and submit it.

So yes, there would be a need to store the "selection" somewhere and that's where I'd like to maybe use a script or code. Don't know how to do this. Also I don't know how to feed that information to the form.

Hope that helps...
Jan 23 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

14
by: Terry A. Haimann | last post by:
I have been working on creating a dynamic web page and have made slow but steady progress. What I have now has an opening page with two drop down boxes. Based on a choice from the first box, the...
3
by: news.onetel.net.uk | last post by:
I and my friend Karl have spent literally all day trying to find out what is causing my error but we are zapped of any further functionality :) I have a form that adds news records. You select...
14
by: tshad | last post by:
I posted this on the asp.net group, also. I wasn't sure whether this was an asp.net problem or a javascript problem. I have a page that was originally created from a program I found on the net...
7
by: ThunderMusic | last post by:
Hi, I have a CheckBoxList and I want to add some javascript code to each CheckBox created by this CheckBoxList. I tried iterating through all items of the list, all the controls, do a FindControl,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.