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.
|