Gossamer Forum
Home : Products : Links 2.0 : Discussions :

UNrequiring fields

Quote Reply
UNrequiring fields
VERY new newbie needs to know how to UNrequire the email and url fields in the 'add' routine! Thanks!
Quote Reply
Re: UNrequiring fields In reply to
In links.def, change the following two fields in the %db_def variable:

Quote:
URL => [2, 'alpha', 40, 75, 1, 'http://', '^http|news|mailto|ftp'],
ReceiveMail => [13, 'alpha', 10, 10, 1, 'Yes', 'No|Yes']

Just change the "1," to "0," in each line.

Then, in the %add_system_fields variable list, delete ReceiveMail => 'Yes' and remove the comma from the end of the previous (Votes) line.

All done. I hope this helps.