Gossamer Forum
Home : Products : DBMan : Customization :

Default value

Quote Reply
Default value
I the .cfg file I am trying to have a default value added to each record. I have had no problems with basic text, numeric values, etc. What I woul like to do is have a link be the default value, but I either get errors or the value is not accepted. Below is the string I am trying to add.

<a href="http://mydomain/projects/map/">Go to Folder</a>

Any suggestions or comments about what I'm doing wrong would be appreciated.



Quote Reply
Re: Default value In reply to
It is preferable to not put html code within the database itself, but to just have the URL in the database and then print out the html code when the record is displayed.

However, it should be possible to put the code in.

Can you post the field definition, with the default value in place, that you are using? Also, what are the error messages you're getting?


JPD
http://www.jpdeni.com/dbman/