Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Multiline Text is breaking moduleMultiline Text is breaking module
Previous
 
Next
New Post
10/9/2014 3:47 PM
 

I have added some profile properties that have a multiline data type.  I am using the ViewProfile module to display these questions and the user's answers.  The script for the ViewProfile template is here:

Code:

<style>

<div id="allQuestions">

<div data-bind="visible: Question1().length > 0">

<p class="question">Why did you choose to work at FMI?</p>

<p class="answer"><span data-bind="text: Question1()"></span></p>

</div>

<div data-bind="visible: Question2().length > 0">

<p class="question">Do you have any pre-game rituals or superstitions?</p>

<p class="answer"><span data-bind="text: Question2()"></span></p>

</div>

</div>

If someone fills out the answer in their profile using just 1 line, everything populates fine.  If they try to use multiple lines (which a lot of users are doing) all of the modules on the page stop working.
 
New Post
10/9/2014 5:21 PM
 
usually the easiest solution is to use a div as span's don't work well with multiline text (though you can tweak that http://stackoverflow.com/questions/85... )

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/23/2014 11:13 AM
 
I tried replacing the spans with divs and it still breaks the module. Any other suggestions?
 
New Post
11/7/2014 11:08 AM
 

bump

 

I feel like this should be a pretty simple fix...

 
New Post
11/9/2014 9:08 AM
 
which DNN version are you running?
AFAIR there were some earlier versions with issues of Multiline control.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Multiline Text is breaking moduleMultiline Text is breaking module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out