NetTalk Central

Author Topic: html code..  (Read 4097 times)

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
html code..
« on: March 30, 2017, 04:43:16 PM »
is possible insert html code after a field in a form? i try with xhtml with hand-code and in embeds after row call a routine, but the html is always in a top of form, look a image i need my step css after a button Find Bill of Lading.

thanks..

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: html code..
« Reply #1 on: March 30, 2017, 09:25:49 PM »
The easiest, and best, approach is to use the DISPLAY form field type, and put your HTML in there.
that's what it's there for.

cheers
Bruce

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: html code..
« Reply #2 on: March 31, 2017, 04:09:13 AM »
don't work i put my html in display field:

Loc:Pg = '<div class="progress">'&|
    '  <div class="progress__circle done">'&|
    '    <span class="count"><</span>'&|
    '  </div><<13,10>'&|
    '  <div class="progress__bar done"><</div>'&|
    '  <div class="progress__circle">'&|
    '    <span class="count"><</span>'&|
    '  </div><<13,10>'&|
    '  <div class="progress__bar"><</div>'&|
    '  <<div class="progress__circle">'&|
    '    <<span class="count"><</span>'&|
    '  </div>'&|
    '</div>'&|
    '<div class="labels">'&|
    '  <span class="step done">pickup<</span>'&|
    '  <span class="step">Step<</span>'&|
    '  <span class="step">Step<</span>'&|
    '</div>'&|
        '<<br>'
    p_web.ssv('Loc:Pg',clip(Loc:Pg))

but when press button nothing work, my display field have allowed xhtml, if delete this option the html display as label

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: html code..
« Reply #3 on: March 31, 2017, 07:23:20 AM »
i have a little advance, with display field don't work i need to change as text field, but i need display the html like first image above

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: html code..
« Reply #4 on: March 31, 2017, 06:22:48 PM »
Solved! ;D