Gossamer Forum
Home : Products : DBMan : Installation :

Post deleted by stewartp

Quote Reply
Post deleted by stewartp
Quote Reply
Re: Required fields In reply to
In your .cfg file for your text field to be required it would look like this:

'Title' => [ 4, 'alpha',30,50,1,'',''],

for dropdown select fields they should look similar to this:

'Category' => [ 3, 'alpha',0,20,1,'',''],

and under your select field setup you would have something like this:

Û_select_fields = (
'Category' => 'Cars,Trucks,Sport Utility,Vans or Minivans,RV,Other',
};

If this does not help you, please post a copy of your .cfg file on your server as a .txt file and provide a URL so it can be viewed.
It's hard to guess without seeing how you have your fields setup Smile

Quote Reply
Re: Required fields In reply to
Hi,

I've already done what you suggested, but still if only one field is complete it returns results.

The lines in the default.cfg file are as follows:
Sales_type => [0, 'alpha', 0, 60, 1, '', ''],
Week_Ending => [1, 'alpha', 18, 20, 1, '', ''],
Region => [2, 'alpha', 0, 60, 1, '', '']

and the lines under Û_select_fields are as you suggested.