NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on March 30, 2017, 04:43:16 PM

Title: html code..
Post by: osquiabro 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..
Title: Re: html code..
Post by: Bruce 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
Title: Re: html code..
Post by: osquiabro 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
Title: Re: html code..
Post by: osquiabro 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
Title: Re: html code..
Post by: osquiabro on March 31, 2017, 06:22:48 PM
Solved! ;D