Hi everybody,
I am currently working on a quote form that has a combo box containing a list of clients. The client is a required field for the quote.
For clients that already exist in the database the user simply selects the client from the list in the combo box either by typing the client name or selecting it from the drop down list.
For clients that don't already exist in the database the user clicks on the 'Add' button to add a new client to the database.
All sounds logical I hope.
Now so far if the user clicks on the 'Add' button first up they can add a client and then select it to use for the quote - no problems. If the user selects a client from the combo box, and then changes their mind and uses the 'Add' button, again no problems.
The issue is when the user types in a client name into the combo box - and it is not found. At this stage if they leave the partially typed client name in the combo box and press the 'Add' button - they will get the "Item doesn't exist in the list error". If they delete what they have typed in the combo box and press the 'Add' button - they will get the "Client is a required field error".
In both of these scenarios the user can NOT continue on to add a new client - unless they first select a valid client from the combo list. And so I ask how can avoid this issue and allow these errors to be ignored so that the user can add a client more easily??
Also, as a side question how do I set the client on the quote form to be the client that has just been newly created through the client pop up screen?
Thanks for reading and hopefully helping
I am currently working on a quote form that has a combo box containing a list of clients. The client is a required field for the quote.
For clients that already exist in the database the user simply selects the client from the list in the combo box either by typing the client name or selecting it from the drop down list.
For clients that don't already exist in the database the user clicks on the 'Add' button to add a new client to the database.
All sounds logical I hope.
Now so far if the user clicks on the 'Add' button first up they can add a client and then select it to use for the quote - no problems. If the user selects a client from the combo box, and then changes their mind and uses the 'Add' button, again no problems.
The issue is when the user types in a client name into the combo box - and it is not found. At this stage if they leave the partially typed client name in the combo box and press the 'Add' button - they will get the "Item doesn't exist in the list error". If they delete what they have typed in the combo box and press the 'Add' button - they will get the "Client is a required field error".
In both of these scenarios the user can NOT continue on to add a new client - unless they first select a valid client from the combo list. And so I ask how can avoid this issue and allow these errors to be ignored so that the user can add a client more easily??
Also, as a side question how do I set the client on the quote form to be the client that has just been newly created through the client pop up screen?
Thanks for reading and hopefully helping
