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.
相关问题
- Adding attachment to Jira's api
- How do I stop drupal from creating a different con
- Including results along with a form on the same pa
- Change form data after submit in drupal
- Javascript / jQuery loading (conflict)
相关文章
- Where to declare variables common to different inc
- How to create a forum topic programmatically?
- How do you migrate CCK fields between environments
- Drupal 6 To 7 Migration
- Using module: url_alter and it's hook: hook_ur
- Drupal 7 programming advancements, differences fro
- Drupal 7 Browser specific css
- How to change the label of the default value (-Any
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).