Gossamer Forum
Home : Products : Links 2.0 : Customization :

check box in add_error template

Quote Reply
check box in add_error template
Hi All,

I have successfully added a check box to the add new links page template and all works fine. I would however like the check boxes to appear on the add_error page with the value stipulated on the add page. I can get the check box on the page, but it doesn't contain the value. i.e. if the user selects the check box I would like it to appear that way on the error page.

I have been able to simple display the value i.e. if check box was selected the error page would show "yes".



Any suggestions??
Quote Reply
Re: [Hamsterpants] check box in add_error template In reply to
How about something like;

<input type="checkbox" value="1" name="FieldName" <%if FieldName%>checked<%endif%>>

That should add 'checked' in the HTML, only if a value was passed on previously from the add.html page.

Hope that helps :)

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] check box in add_error template In reply to
Thanks Andy,

Worked like a bomb Sly

One Happy Hamsterpants