Two forms on the same page drupal
I have a database of clients. Before entering a new client, I want to make sure that that client is not already in the database. So I want to put a search form at the top of my page to search by client number, and client name. Further down the page, I'll have another form to enter and submit the client's information. Would this be the best way to go about something like this? How would you approach this? i'm using drupal 6.
It is better that when the user is inserting a new customer name, an autocomplete shows the names matching the characters inserted by the user; if the user wrote "Mic", and in the database there is a customer with the name "Michael Greenpeace", the autocomplete will show "Michael Greenpeace", and the user will understand there is already a record for that customer. Even without the autocomplete (which would help the user to understand if the data for the customer has been already inserted in the database, and continue with the next customer), a user that inserted the name of an existing customer should see the existing data; this would help the user to avoid rewriting data that are already updated (customer information need to be updated, sometimes, and not only inserted).
Drupal6 - product comparison
drupal 6 multitab with ajax content
How to place a cck field inside a fieldset?
How to display the maxlength countdown remaining characters for custom form fields
How to put the field label inside the form select field?
Symbol “?” in alias or Dirty url
hook_comment not modifying data
How to use php session in drupal 6
Drupal 6, Create a form in a node which save data to another content type (cck)
Synchronize language switcher with language from user profile
How to replace fckeditor with CKeditor?
rel=nofollow does not add to the links in my CCK field
Get term name by term id
Custom Contact Form on a Drupal CCK Node
Drupal 6, FAPI form submitted twice, why?
problem with notifications module in drupal