Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8026 Posts in 1851 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityEverything ElseGeneral Use (Moderators: scott, DanO, Marty)html as default in event field
Pages: [1]   Go Down
Print
Author Topic: html as default in event field  (Read 205 times)
0 Members and 1 Guest are viewing this topic.
wderzawiec
New Member
*

Karma: 0
Offline Offline

Posts: 14

Web site coordinator


WWW
« on: November 26, 2004, 11:19:00 AM »

Dear all,

I'm having trouble setting default values for some of my event fields.  If I enter straight text it seems to work all right, but I'm having trouble with html.  I'd like to have a selectbox with several options for "mailto:" links, but the code stops at <a href.      The holdup seems to be at the equal sign.  It's printing all right to the events.properties file.  Does anyone have any ideas or suggestions?  Thanks so much,

w

ps I do have "allow html" enabled in the calendar settings

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 221

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: November 26, 2004, 03:55:00 PM »

** I'd like to have a select box with several options for "mailto:" links **

By the nature of HTML tags, you can not have HTML code as a value for a select field as that would put it inside another HTML tag.

You can try changing the < and > of the info you want to input into their HTML entities like & lt; and & gt; (respectively - without any spaces) but I have no idea how they'll behave.

Or you can just use the straight email addresses as the values and people can copy and paste them.

>Dan O.

------------------

Logged
wderzawiec
New Member
*

Karma: 0
Offline Offline

Posts: 14

Web site coordinator


WWW
« Reply #2 on: November 26, 2004, 07:07:00 PM »

Guess that makes sense, thanks.  I'll see what I can do with autolink but it won't be as pretty.  

w

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: