NetTalk Central

Author Topic: Multiple lines in a radio Option  (Read 5174 times)

robirenz

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • Email
Multiple lines in a radio Option
« on: March 11, 2016, 07:41:34 AM »
Is it possible to have several lines divided with a forced Carriage Return in a Radio Option with Jquery button?
I ca add the carriage return linefeed in my text but the button will get all jumbled up together..
http://screencast.com/t/LZBoI6oiIlZ
here in the Firefox Web Inspector I see that my line feeds are going through,
http://screencast.com/t/LZTFoOq4x

but they are all getting jumbled up in the button..

any help would be appreciated..

Best Regards...

Roberto Renz

Flint G

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • Email
Re: Multiple lines in a radio Option
« Reply #1 on: March 13, 2016, 07:15:07 AM »
What if you try explicitly putting <br /> tags instead of CRLF between each option?

Regards,
Flint
NetTalk: 12.26
Clarion: 9.1.11529
Brave: 1.31.88
Chrome: 95.0.4638.69
Edge: 95.0.1020.44
ExtJS: 7.0.0.156

robirenz

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • Email
Re: Multiple lines in a radio Option
« Reply #2 on: March 13, 2016, 09:58:26 PM »
Flint

http://screencast.com/t/4G42P0hhzGl

well.. not quite what we we thought it would show. but maybe it was expected..

Best Regards...

Robi

Flint G

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • Email
Re: Multiple lines in a radio Option
« Reply #3 on: March 14, 2016, 06:48:25 AM »
Roberto,

If the tags are being encoded by the server (i.e., translated from <br> to &lt;br&gt;), then I would expect that behavior.  If you can find a way to get the server to offer up the un-encoded string, then you should get what you're looking for.

Flint
NetTalk: 12.26
Clarion: 9.1.11529
Brave: 1.31.88
Chrome: 95.0.4638.69
Edge: 95.0.1020.44
ExtJS: 7.0.0.156

robirenz

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • Email
Re: Multiple lines in a radio Option
« Reply #4 on: March 14, 2016, 03:31:55 PM »
Maybe Bruce will chime in with an idea..

this is my workaround for now..

http://screencast.com/t/S9cG8OQGA

so maybe that will be the best I can do.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Multiple lines in a radio Option
« Reply #5 on: March 15, 2016, 02:55:56 AM »
I've added code in 9.07 so that HTML in a radio text is observed.
So
One<br/>two

Cheers
Bruce

robirenz

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • Email
Re: Multiple lines in a radio Option
« Reply #6 on: March 15, 2016, 08:33:06 AM »
wonderful....