Van Helsing
10-21-2008, 08:40 AM
Hey all,
I currently have a project on my hands that requires me to use technologies / languages I'm not quite proficient in yet.
You can see how my site looks here:
http://www.ve-designs.net/NXEA/index.php
The basic principle is, there are a bunch of items on a page, in grid view. Next to each item is a text field in which the user can specify how many of each item they would like.
Under this field is an 'Add' button, which will take the item's name and their quantity into a form on the right hand side of the page.
This form on the right constitutes of basically an email contact form. It has name, mobile, email fields etc.
What the AJAX (or even just JavaScript, whatever you would like to refer it is) does, is for every item added a new row of text fields appears under the existing form.
The two text fields are: The Name of the item x quantity
There is a remove button at the end of each row to delete that row.
The same basic functionality can be found on this page:
http://www.papajohns.co.uk/Stores/rayleigh/pizzas.aspx
Hopefully my explanations have been thorough enough,
I'm not looking for a full write of code (although I wouldn't complain ;) ), just helpful pointers and tips of what to do,
Thanks for your help! :)
I currently have a project on my hands that requires me to use technologies / languages I'm not quite proficient in yet.
You can see how my site looks here:
http://www.ve-designs.net/NXEA/index.php
The basic principle is, there are a bunch of items on a page, in grid view. Next to each item is a text field in which the user can specify how many of each item they would like.
Under this field is an 'Add' button, which will take the item's name and their quantity into a form on the right hand side of the page.
This form on the right constitutes of basically an email contact form. It has name, mobile, email fields etc.
What the AJAX (or even just JavaScript, whatever you would like to refer it is) does, is for every item added a new row of text fields appears under the existing form.
The two text fields are: The Name of the item x quantity
There is a remove button at the end of each row to delete that row.
The same basic functionality can be found on this page:
http://www.papajohns.co.uk/Stores/rayleigh/pizzas.aspx
Hopefully my explanations have been thorough enough,
I'm not looking for a full write of code (although I wouldn't complain ;) ), just helpful pointers and tips of what to do,
Thanks for your help! :)