Gossamer Forum
Home : Products : Links 2.0 : Discussions :

required fields in link submissions

Quote Reply
required fields in link submissions
How do I remove the requirement in new links to have a contact name and email included?

------------------
Richard Hayward
http://www.visitpenang.com/
Quote Reply
Re: required fields in link submissions In reply to
To remove required field options, all you have to do is change the 1 in the following fields to 0.

Code:
'Contact Name' => [7, 'alpha', 40, 75, 1, '', '']
,
'Contact Email' => [8, 'alpha', 40, 75, 1, '', '[^
,]+@[^,]+\.[^,]+'],

Like the following:

Code:
'Contact Name' => [7, 'alpha', 40, 75, 0, '', '']
,
'Contact Email' => [8, 'alpha', 40, 75, 0, '', '[^
,]+@[^,]+\.[^,]+'],

Hope this helps.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: required fields in link submissions In reply to
Eliot thankyou. Can you tell me which file I need to edit in order to make that change? I got lost trying to find it.

------------------
Richard Hayward
http://www.visitpenang.com/
Quote Reply
Re: required fields in link submissions In reply to
Duh...Your links.def file...where your field defintions are located...!!!!!!!!

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: required fields in link submissions In reply to
Very nice, thankyou sir, it works of course.

------------------
Richard Hayward
http://www.visitpenang.com/