Jump to content

Best design to check certain conditions on page load


GlassCasket

Recommended Posts

I'm starting a new project soon and had a few design questions. The project will entail having a basic first page where the customer will input basic information about themselves. Then will proceed to an order form. So I'm assuming that you shouldn't be able to see the order form if you haven't gone through the main page. So I guess my question is: What is the better design to check certain conditions on page load up? I'm not sure if using classes is appropriate or simply using if statements.

 

Thanks!

  Quote

Sounds like an obvious candidate for an if or two

 

What classes did you have in mind that would have been better?

You're right. This project could become big and I just wanted to keep things as organized as possible.

 

if's it is!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.