View Single Post
05-16-2008, 01:41 PM
#3
creativejen is offline creativejen
Status: Paladin
Join date: Jul 2006
Location: Sheffield, UK
Expertise: design, front-end markup
Software: Photoshop
 
Posts: 2,353
iTrader: 25 / 96%
 

creativejen is an unknown quantity at this point

Send a message via MSN to creativejen

  Old

Ok now I just had another idea and I would like some one to help.

Basically I have a simple contact form, which work exactly how it's needed to.

However, I intend on redistributing it therefore I want to do this;

1) Add a secondary form in the sidebar, which will allow you to add a contact
2) In the For.. dropdown field, it will pull these contacts in.
3) The form in the sidebar will obviously have 2 fields, name / email, email for the select value.
4) I want to have this non-database driven, so is it possible to use XML maybe? Or something that populates the dropdown field properly.
5) If the above is possible, is there a way of using javascript/ajax/jQuery to make it so if you add a contact in the form, it will automatically add to the dropdown box, so no page refresh is needed?

Any help is highly appreciated.