troubleshooting Question

Cannot 'while loop' with one row

Avatar of xiss
xissFlag for Netherlands asked on
5 Comments1 Solution343 ViewsLast Modified:
Hi guys,

I created a product configurator for our company, which uses javascript to add, multiple etc prices in a form, depending on the amounts that are filled in. It is showcased at

If you look at the Server Backup Lite/Basic tab, it works like a charm. But when you check the Server Backup Pro tab, if you fill in the amount under "Aantal", nothing happens. The price for one server is 0.00. However, when you add another item with "Server Toevoegen", the price is changed from 0.00 to whatever amount you filled in times the value of the field.

I managed to figure out it does not work with one row, seeing as the Server Backup Lite/Basic tab works fine. But for the life of me I can't seem to figure out how to solve it.

Does anyone have a solution to this? I have included the code in the .php, the css and js for the tabs come from tabber.js and example.css (See source code or attachments).

Thanks a lot!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros