- A user has 3 elements to choose for an element: A, B and C. If he chooses A, more options should be shown (D, E and F). If he chooses E or F, even more options should be shown. Option C can not be chosen if the user filled in X or Y in field Z somewhere else.
- A user can choose where he wants to place the door on the side of a truck body. This limits of how close to the edges the door can be is influenced by a lot of other parameters. Additionally, the door can only be placed on positions in steps of X, Y or Z millimeters, depending on the product, usually creating about 200 discrete possibilities.
- A user can decide to either give give the internal, the external or another (don't know the English word) length of the truck body. That's 3 drop-down menu's, but when he selects one, the others should be automatically updated. Furthermore, these lengths are also influenced by other parameters (e.g. internal length -= 4 mm when the user chooses option X).
Apart from that, designs and templates shouldn't be hard-coded either. Designing a new template should be no more than editing a few html files, and the whole site should be available in multiple languages. Obviously.
Sigh.
A few days of brainstorming later, I have still no idea on how to begin. The templates I can handle with a parser that understands things like "{{LOOP: products}}{{VAR: product.name}}<br>{{ENDLOOP}}" and "{{IF: something}}" etc. Languages can also be solved that way (a {{TXT: abc}} command. But still, the main problem remains: how would I do this? I'm not asking for specific details, just the general outline of how you would do it, maybe a few database table names, and what you would let such a "form creation" page look like (internally and externally). Also, I don't think that I'm the only one with this kind of problem, so maybe there are already a few libraries out there that could help?
Any help would be appreciated!
Thanks in advance,
Migi