Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

How to make a field compulsory to filled

Quote Reply
How to make a field compulsory to filled
How to make a field to be a compulsory field?
When leave empty, an error message will show.

I would like to do it at Contact Name and Contact Email.


Leslie
Quote Reply
Re: How to make a field compulsory to filled In reply to
In the Links Admin, go to the Table Editor / Links table.

Go to the "Update Field " option, and make the "Not Null" column "yes". Make sure you check the checkbox to the very far left, so it updates.

Then UPDATE the changes button.

You must do the _SAME_ thing on the Validate table to make it work everywhere.

The _problem_ will be in the Admin area, if you try to modify records that have no entry, the system won't let you.

You might be able to bypass that by only changing the Validate table as above, and not the Links table.

Don't know about that last suggestion for sure though.

------------------
POSTCARDS.COM -- Everything Postcards on the Internet www.postcards.com
LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/








Quote Reply
Re: How to make a field compulsory to filled In reply to
Thanks pugdog,

All my current database have Name and Email. So this is not a problem. Once again, thanks for your help.


Leslie