PDA

View Full Version : I built a behavior


mar0364
02-11-2006, 11:46 PM
I'm doing an advanced ASP DWMX 2004 book and built a SB that looks for an empty space in a text field being read from a datasource and inserts a </p>

or a
. It allows your text to maintain its paragraph form without having your user place HTML in the field.

Any one feeling cocky enough to try it? If so let me know

Thanks!
Rich

ps: worked for me.

domedia
02-12-2006, 12:39 AM
If anyone's running ASP I;m sure they would :)
But where's the behaviour?

mar0364
02-12-2006, 01:32 PM
I would need to email it. I didn't see mxi as an accepted file upload option.

domedia
02-12-2006, 03:02 PM
We'll fix that :) In the interim, can you upload it to your server instead and link to it?

Creative Insanity
02-12-2006, 05:30 PM
just zip it up then.

davidj
02-13-2006, 11:24 AM
nl2br() in php does that

we are so spoilt in PHP its sickening

mar0364
02-13-2006, 08:08 PM
nl2br() in php does that

we are so spoilt in PHP its sickening

I've been doing a little project in PHP and MySQL. There is a bit of a learning curve for those of us not from the traditional programming world. I come from a CF and ASP background. So PHP it a challenge for me.

mar0364
02-13-2006, 08:11 PM
just zip it up then.

Dah!!

I've attached it to this post. Let me know if you like.(whomever uses it)