Gossamer Forum
Home : Products : DBMan : Installation :

FYI Seperate Search & Add Forms

Quote Reply
FYI Seperate Search & Add Forms
I was having a problem with the add and search forms being the same. When someone did a search having the same forms for both was confusing.

A cure in the event some of you are having the same problem..

At the top of your Record Layout section there is a header

sub html_record_form

cut and paste the entire sub html_record_form section in between the existing sub html_record_form and sub html_record. Rename it to something like

sub html_record_form2

Change the entries in the duplicate renamed section to what ever you want to show up on your search form. Then go down into the Viewing section and html_view_failure and change html_record_form to html_record_form2.

Now when someone clicks on search they will get new custom form you specified in the html_record_form2 section. It worked for me.. Hope this helps any of you out there with the same problem.. Well not really a problem, you now what I mean.