Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Radio fields

Quote Reply
Radio fields
I want to use links for different languages,
in this way:

For example on the add-site a field with checkboxes like

Color: red white black

The use choose all three colors. So I have 3 values in this field.

On the datailed pages I want to use something like this

<%if color eq 'red'%>rosso<%endif%>
<%if color eq 'white'%>bianco<%endif%>
<%if color eq 'black'%>nero>%endif%>

It seems to be not working, because the field contains more than one word, and does not match to the single <%if ... option.

Do I need to create a field for every option?
This would be to much fields.

Any idea?

Michael

Quote Reply
Re: Radio fields In reply to
Ok.

I'm not sure exactly what you are asking.

There is a language file, you might be able to use.

Or, rather than making each option an <%if%> why not put the whole language in an if .. <%if spanish%>...<%endif%> <%if english%>...<%endif%> etc.

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum