Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
using dcr value in pt
System
Hi,
I want to remove extra <p> added by the visual format in the dcr content of replicant text area control. So i am using following code.
<iw_iterate list='dcr.Paragraphs' var='sec'>
<FONT FACE="Times New Roman" SIZE=3> <iw_perl>
<![CDATA[
$content = iwpt_dcr_value'dcr.Paragraphs.Paragraph');
$content =~ s/<p[^>]*>//g;
$content =~ s/<\/p>/<br>/g;
iwpt_output ("$content");
]]>
</iw_perl>
this is working fine, but losing the font attribute that is set by user. font will remain if I directly use <iw_value name='sec.Paragraph' /> in the html code. How do I retain the font in the above code? I could not use iw_value in the perl code after iw_iterate.
Pl suggest.
thanks
Find more posts tagged with
Comments
There are no comments yet