·
Added a discussion

what is the method for increasing the number of characters in a reply to a discussion

I looked but could not figure where to increase it from 5000 characters of data length

  • 2394
Comments
    • Developer app > fields > system > post comment form > text

      • Thanks Yra but i am not finding that. I found the Edit Text Field page where 40000 is listed as the max value for character but still when someone post a reply to a discussion, there is a notice saying that there should be max of 4000.

        • Yra,

          There is no Developer app > fields

          What I see on developer are icons for 5 these choices:

          Settings, polyglot, forms, navigation, pages

          The version I am using of UNA is

          Version: 11.0.3 Installed: 12 Apr 2019

          • Fields are in forms

            • Hello Michael Beloved !

              It is possible to do via execution of the following query:

              UPDATE `sys_objects_cmts` SET `CharsPostMax`=4000 WHERE `Name`='bx_forum' LIMIT 1;

              and then clear cache via Dashboard.

              • Yra

                Here is the path:

                developer> forms> field> system> comment post form> text> edit field > data length Max value.

                 

                However that is already set to 40000.

                 

                And still when a reply comment is made in discussion, we are getting a red warning which states

                Please enter 1-5000 characters.

                UNA is ignoring the 40000 input at the edit fields dialog box

                There must be another place where this can adjusted

                • LeonidS,

                  Please enter 1-5000 characters
                  Incorrect info. Please, check your inputs and try to submit again.

                  The limit given in the warning is 5000, not 4000 as I mentioned above. I adjusted the query and filed it and also cleared cash in studio but nothing changed when i tested to see if it would accept an amount over 5000 spaces.

                  Here is the query followed by the reply (I used phpmyadmin)

                  UPDATE `sys_objects_cmts` SET `CharsPostMax`=5000 WHERE `Name`='bx_forum' LIMIT 1;

                  Returned this answer:

                  UPDATE `sys_objects_cmts` SET `CharsPostMax`=4000 WHERE `Name`='bx_forum' LIMIT 1;

                  • Michael Beloved Yra LeonidS 

                    Studio > Developer > Forms > Drop Down to System > In System Name column, you will see Comment. Click on 2 displays link under Displays column for Comment. You will see Comment Post Form > Then in Fields Column, click on 7 Fields. You will then see System Name column...scroll down to Text and click the Pencil icon to edit the field. 

                    Change Check for from Data Length to Data Availability. It will by pass checking character count and only checks to make sure that at least 1 character was entered and cannot be blank. It will no longer check to make sure you are not over 5000 characters. You will not need to do any sql commands for this to work so don't worry about running the commands you were told to use.

                    See attached image

                    image_transcoder.php?o=bx_froala_image&h=3910&dpx=2&t=1598281061

                    • Jeremy,

                      Thanks. However it is not allowing me to save that. Please see circled areas on the form.

                      • The title you need to enter is Comment

                        • Jeremy,

                          That is Super!

                          Classic method - Should be noted for the record.

                          Thanks!

                          • This is what solved the problem of limited text input for comments in discussions.

                            Studio > Developer > Forms > Drop Down to System > In System Name column, you will see Comment. Click on 2 displays link under Displays column for Comment. You will see Comment Post Form > Then in Fields Column, click on 7 Fields. You will then see System Name column...scroll down to Text and click the Pencil icon to edit the field.

                             Change Check for from Data Length to Data Availability. It will by pass checking character count and only checks to make sure that at least 1 character was entered and cannot be blank. It will no longer check to make sure you are not over 5000 characters.

                            See attached images. Set everything as marked in the images.

                            Once you access the Edit "Test" Field dialog box make sure everything is set as per the images attached.

                            • You're welcome. Glad I could help.

                              Login or Join to comment.