NetTalk Central

Author Topic: Form Layout Tab Suppress Comments setting not respected?  (Read 196 times)

Jane

  • Sr. Member
  • ****
  • Posts: 357
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Form Layout Tab Suppress Comments setting not respected?
« 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.



osquiabro

  • Hero Member
  • *****
  • Posts: 677
    • View Profile
    • Email
Re: Form Layout Tab Suppress Comments setting not respected?
« Reply #1 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

Alberto

  • Hero Member
  • *****
  • Posts: 1849
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Form Layout Tab Suppress Comments setting not respected?
« Reply #2 on: May 11, 2024, 04:17:47 AM »
Hi Jane, same problem in 14.20
-----------
Regards
Alberto

osquiabro

  • Hero Member
  • *****
  • Posts: 677
    • View Profile
    • Email
Re: Form Layout Tab Suppress Comments setting not respected?
« Reply #3 on: May 11, 2024, 05:01:38 AM »
work if  set  in settings in webserver ..

Jane

  • Sr. Member
  • ****
  • Posts: 357
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: Form Layout Tab Suppress Comments setting not respected?
« Reply #4 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.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11194
    • View Profile
Re: Form Layout Tab Suppress Comments setting not respected?
« Reply #5 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.

Jane

  • Sr. Member
  • ****
  • Posts: 357
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: Form Layout Tab Suppress Comments setting not respected?
« Reply #6 on: May 13, 2024, 07:54:59 AM »
Thanks, Bruce!
Made the template edit for now.
« Last Edit: May 13, 2024, 12:37:00 PM by Jane »