Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Quick easy question - add.cgi error

Quote Reply
Quick easy question - add.cgi error
When a user forgets to select the category from the drop down when adding a link, the error message appears and the form is cleared.

Is this how it is suppose to work?

I know if you simply hit the back button you can retrieve everything that was input. In 2 years of running links I've never had a user complain about this until today. I have a very lengthy form so he was quite upset, didn't use his back button, and has to redo everything.

I'm just wondering if it's how the program works or if my form may be set up wrong.

Thanks,
Richard White
http://www.AffiliateFirst.com
Quote Reply
Re: [RWhite] Quick easy question - add.cgi error In reply to
You should have something like:

<%if some_field%>value="<%some_field%>"<%endif%>

....for all your fields so that on the error page the values will be inserted as detauls values.
Quote Reply
Re: [Paul] Quick easy question - add.cgi error In reply to
Or;

value="<%if some_field%><%some_field%><%endif%>"

Thats what I normally use, and its the default syntax used in include_form.html Wink

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Quick easy question - add.cgi error In reply to
It makes no difference.
Quote Reply
Re: [Paul] Quick easy question - add.cgi error In reply to
Paul,

Thanks. I remember now that I did have my form set up that way at 1 time.

Much appreciated.
Richard White
http://www.AffiliateFirst.com