Gossamer Forum
Home : Products : Gossamer Links : Discussions :

different input form for different sub-categories

Quote Reply
different input form for different sub-categories
Need some advice...

If different sub-categories have a different data set what is the best way to approach this. The main category is set to each city, then the sub-categories are jobs, roommates, apartments, etc.

I need the add form and detail page to have different information depending on the category. If they are posting in the apartments section they would input rent and number of bedrooms. If in the job section they would input the type of job, full or part-time, etc

What is the best way to approach this? A template for each sub-category of the city. One for jobs, one for apartments and one for roommates?

Or would it be better to us an <%if > statement on the add template. That way if they are trying to post in the apartment section the appropriate information would be added in.

Any advice is appreciated!
Subject Author Views Date
Thread different input form for different sub-categories Soren 2240 Nov 16, 2007, 1:10 PM
Thread Re: [Soren] different input form for different sub-categories
brewt 2174 Nov 22, 2007, 11:43 AM
Post Re: [brewt] different input form for different sub-categories
katakombe 2165 Nov 25, 2007, 3:05 AM
Post Re: [brewt] different input form for different sub-categories
Soren 2137 Dec 17, 2007, 11:11 AM