Hi Bruce, when button type is set to Save the value in Html Before Image/Text is not generate, look the different with set to Save and set to button
packet.append(p_web.CreateStdButton('submit',Net:Web:CloseButton,loc:formname,loc:formactioncancel,loc:formactioncanceltarget,,,,,'LoginForm')) !f11
packet.append(p_web.CreateButton('button','aaa','Terms',p_web.combine(Choose('Terms' <> '','nt-button nt-default-button' & p_web.site.style.FormOtherButtonWithText,p_web.site.style.FormOtherButtonWithOutText),' nt-cancel-button Navigatebutton'),loc:formname,,,p_web.OpenDialog('TermsForm',p_web._jsok(''),Net:Form,'''' & lower('LoginForm') & '''','','',p_web._jsok('terms'),p_web._jsok(''),loc:parent,''),,loc:disabled,,,,,,1,,0,,'nt-left','','LoginForm',,,'<i class="fas fa-lock"></i>',))
NT 12.26