Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Collecting form data to display elsewhere on page? Re: Collecting form data to display elsewhere on page?

#71290
scottgm
Member

I’ve managed to come up with a solution (im implementing at the moment), it involves separating the huge string of info and converting the cost of the coffees to a float where i can perform the calculations i need (Vat etc), and of course using css to position everything where it needs to be.

I realise now i should have created an associative array or something similar for the coffee menu then pulled the users choice, similar to what mark suggested above, however im fairly new to javascript so just picking up things as i go.

Thanks all for the help :)