HI,

I am designing a web based purchase order system for the company i work for. I have managed to do everything i need so far but am having a problem with the approval system I am trying to do.

Basicaly I am trying to come with up with a way of having a field that can only be entered when a username and password has been entered. So at the bottom of the order form is an approve button, when this is clicked it asks for a username and password and once this is entered it check the total of the order and either approves or denies the order depending on the signing limit.

Can anyone help?

If you are interested in having a popup state that information must be entered in a certain field, my suggestion is to use javascript in your PHP. Otherwise, you can do it through PHP via various functions and/or if/then statements.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.