NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Thys on September 05, 2011, 01:21:29 AM

Title: Problem with comment div's not being generated
Post by: Thys on September 05, 2011, 01:21:29 AM
Hi,

On a form I have set up comment values for all of the fields. But on some of these fields the template does not generate the comment td. The fields for the omitted comments are set up exactly the same as the other fields (except obviously for the field names and the comment values). What else could cause these comments not be generated?

Thys
Title: Re: Problem with comment div's not being generated
Post by: Bruce on September 05, 2011, 05:33:04 AM
a) There's an option to suppress comments altogether for the form
b) there's an option to suppress comments on a field-by-field basis
c) if the comment is changing, then it seeds to be "reset" (just like a field) when the contents change.
d) other....

impossible really to comment without an example.

cheers
Bruce
Title: Re: Problem with comment div's not being generated
Post by: Thys on September 06, 2011, 05:05:24 AM
Bruce,

I added the procedure to the sample web1.app (attached). On the homepage you will see a Contact Us link on the top-right. It opens the contact us page, but the comments from the "Email address" field downwards are not generated.

Thanks
Thys

[attachment deleted by admin]
Title: Re: Problem with comment div's not being generated
Post by: Thys on September 09, 2011, 04:45:09 AM
Hi Bruce,

Have you had time to look at the sample app?

Thys
Title: Re: Problem with comment div's not being generated
Post by: Bruce on September 11, 2011, 11:36:16 PM
repost with dictionary please.

Note: When a dictionary is converted to C8 it gets a unique (random) guid for each field. If you upgrade a dict, and I upgrade the same dict, then we get different guids. Your app on your dict does not work with your app and my dict. So when posting examples you _must_ post the dict with the app, even if you think I have the dict already.

cheers
Bruce
Title: Re: Problem with comment div's not being generated
Post by: Thys on September 12, 2011, 06:57:31 AM
I missed that, sorry. Here it is attached - C7 still.

[attachment deleted by admin]
Title: Re: Problem with comment div's not being generated
Post by: Bruce on September 13, 2011, 09:08:42 PM
The "Suppress Comment" option for the field is ticked on.
(it's disabled, but still ticked on.)

Turn off "Last On Line".
Untick "Suppress Comment"
Tick on "Last on Line"

Cheers
Bruce
Title: Re: Problem with comment div's not being generated
Post by: Thys on September 13, 2011, 09:58:14 PM
Thanks. It shows now.