Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Can you have two include_forms?

Quote Reply
Can you have two include_forms?
This is a continuation of the post at:

http://www.gossamer-threads.com/...;;page=unread#unread

Can you have two include_forms, one for add a site and one for modifying it? I want a couple extra fields on the modify form that I don't want appearing on the add form.
Quote Reply
Re: [rayhne] Can you have two include_forms? In reply to
Yup..you sure could. If you really wanted, you could just put the FORM stuff in the add.html and modify.html templates seperatly...include_form.html is just there to make things a little easier for you Tongue

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] Can you have two include_forms? In reply to
Okay, that should solve alot of problems...

Now about that problem with changing categories...Tongue...do they have to select a category or is there a way to not have that as a required field?
Quote Reply
Re: [rayhne] Can you have two include_forms? In reply to
And here's an odd but pongent question...if an editor changed a link that is in her category but also copied into categories she isn't editor of, do they all change?
Quote Reply
Re: [rayhne] Can you have two include_forms? In reply to
Why not add it as a hidden field?

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] Can you have two include_forms? In reply to
Well, I tried to set up a seperate include_modify_form without the category field and got an error saying that category had not been selected. If I do it as a hidden field, would this happen? And how do you set up a hidden field?
Quote Reply
Re: [rayhne] Can you have two include_forms? In reply to
Any answer to this....?

If I set up category as a hidden field, will I get an error saying category isn't select?
In Reply To:
Well, I tried to set up a seperate include_modify_form without the category field and got an error saying that category had not been selected. If I do it as a hidden field, would this happen? And how do you set up a hidden field?