Gossamer Forum
Home : Products : DBMan : Customization :

Changing the Search

Quote Reply
Changing the Search
I've seen that the html.pl file has the same subroutine for searching, editing and adding data. I wanna change only the search form and remove some fields from it, but leave the add and edit form the same....
I need some advice here...
Thanx
Quote Reply
Re: Changing the Search In reply to
Open html.pl in your text editor.

Highlight and copy all of sub html_record_form.

Go to just before the beginning of sub html_record and paste your copy of sub html_record_form. You will now have two identical copies of the same subroutine.

Change the name of the copied-and-pasted subroutine to sub html_search_form.

Delete the fields from sub html_search_form that you don't want on your search form.

Go to sub html_view_search. Change the reference to &html_record_form to &html_search_form.

Do the same thing in
sub html_view_failure
sub html_delete_search
sub html_modify_search



------------------
JPD





Quote Reply
Re: Changing the Search In reply to
Thanx a lot JPD... I did that and It werkz Fine......