NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Jane on May 10, 2024, 03:22:28 PM

Title: Form Layout Tab Suppress Comments setting not respected?
Post by: Jane on May 10, 2024, 03:22:28 PM
14.21.
If I go to the Layout tab on a form and set Suppress Comments to Yes, the comments divs are still generated on the form. 
That doesn't seem right?

Modified example of Web71 attached.  I copied the Customers browse and update form.  On the duplicate form I manually suppressed comments on each field.  On the original form I just set the item on the Layout tab to Yes.


Title: Re: Form Layout Tab Suppress Comments setting not respected?
Post by: osquiabro on May 11, 2024, 03:59:32 AM
for me work, maybe try to set settings in webserver settings, example https://www.fecipur.org/UpdatePerfil?insert_btn=insert

NT 14.21
Title: Re: Form Layout Tab Suppress Comments setting not respected?
Post by: Alberto on May 11, 2024, 04:17:47 AM
Hi Jane, same problem in 14.20
Title: Re: Form Layout Tab Suppress Comments setting not respected?
Post by: osquiabro on May 11, 2024, 05:01:38 AM
work if  set  in settings in webserver ..
Title: Re: Form Layout Tab Suppress Comments setting not respected?
Post by: Jane on May 11, 2024, 09:45:00 AM
work if  set  in settings in webserver ..
Yes it does.
But that doesn't help if one only wants to disable comments on specific forms.
Title: Re: Form Layout Tab Suppress Comments setting not respected?
Post by: Bruce on May 12, 2024, 11:58:46 PM
>> That doesn't seem right?

It is not right.
In NetWeb.Tpw,

#Group(%SetSuppressComment) (circa line 5310)

      #CASE(%SuppressPrompts)

should be

      #CASE(%SuppressComments)

Fixed for build 14.22

Thanks for the report and example Jane.
Title: Re: Form Layout Tab Suppress Comments setting not respected?
Post by: Jane on May 13, 2024, 07:54:59 AM
Thanks, Bruce!
Made the template edit for now.