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

Modifying data

Quote Reply
Modifying data
Quick question. Say you have 20 fields in your links.db and only want the user to be able to modify 16 of those fields. I find that the 4 fields, if not passed as hidden fields are set back to default even if there were values in those fields before. I don't want to pass the fields as hidden because they are very long and only for admin functions.

Is there an easy way around this without passing these fields as hidden?

Thanks for any help.

Kevin
Quote Reply
Re: Modifying data In reply to
I did this by

# Add in values that we don't want user to change

$links->{'MemberStatus'} = $original->{'MemberStatus'};

in modify.cgi

Kevin