SAEF: tags divided by spaces or <br />
Posted: 20 January 2008 09:39 AM   [ Ignore ]
Member
RankRankRank
Total Posts:  55
Joined  2007-12-15

When entering tags via the CP, each tag is on its own like, i.e. divided by a
.
However, in the documentation, the sample code says:

<p>Tags<br />
<
input type="text" name="tag_f" id="tag_f" maxlength="75" size="50" /></p>

Since textareas don’t do
, unless those are written out, I suspect tags can be keyed in divided by spaces? But what if a tag consists of more than one word? Is there another way that is not outlined in the documentation?

The most logical way might be to divide with a comma and space…

Profile
 
 
Posted: 21 January 2008 07:24 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3272
Joined  2006-10-18

Current,

Thanks for pointing this out! smile

To be honest, I’ve been blindly using this feature, haha LOL

The first ("non-official") example does use a Text Area, but yes, the Example uses an input.

I would use this code (one tag per line):

<textarea id="tag_f" name="tag_f" dir="ltr" cols="80" rows="3"></textarea>

The funny thing is, it works, even though I haven’t even created the custom field as it suggests I do LOL

I will update the Documentation smile

Again, thank you! smile

 Signature 
Profile
 
 
Posted: 21 January 2008 09:37 AM   [ Ignore ]   [ # 2 ]
Member
RankRankRank
Total Posts:  55
Joined  2007-12-15

Sorry, I didn’t realize my br / tags weren’t displaying in my post!

My reason for bringing this up is that when using a SAEF, instructing a user to divide each tag by a comma and space my be slightly easier. Just a thought.

Profile
 
 
Posted: 21 January 2008 09:38 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3272
Joined  2006-10-18

That would probably work too… have you tried it? smile

EDIT: The comma option will not work.

 Signature 
Profile