PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Data Paragraph Text missing

  1. We use GravityForms for 2 different forms. Each form uses a Paragraph Text for remarks visitors wants to make. But in the mail as well as via the form only the first 196 (if I count right) are shown.

    Thanks for your help

    Posted 14 years ago on Thursday March 11, 2010 | Permalink
  2. Hello Wilco, what version of Gravity Forms are you running? You can find this out by going to Forms > Settings in your WordPress admin.

    I ask because this issue was a bug in an older version of Gravity Forms so always check to make sure you are running the latest version of the plugin (currently 1.3.10).

    Posted 14 years ago on Thursday March 11, 2010 | Permalink
  3. I'm usings the latest version (1.3.10).

    Posted 14 years ago on Saturday March 13, 2010 | Permalink
  4. Odd Wilco, it shouldn't be truncating the data. In order to look into this we would need a WordPress admin login and ideally FTP access if we need to do further debugging and we can take a look. You can reach us via our Contact Us form with the information. Thanks.

    Posted 14 years ago on Monday March 15, 2010 | Permalink
  5. Done

    Posted 14 years ago on Tuesday March 16, 2010 | Permalink
  6. I think I may have experienced this exact problem here using the "Contact Us" form. Is it possible that special characters are causing a problem, and all data following the character gets dropped? I am guessing the actual text that was in the paragraph will be important to recreating the problem.

    Posted 14 years ago on Tuesday March 16, 2010 | Permalink
  7. Nope, I have tested it (also with 1.3.11) with only characters and still max 196 :-(

    Posted 14 years ago on Thursday March 18, 2010 | Permalink
  8. It shouldn't be truncating characters and I haven't been able to replicate this issue locally. In local testing I have no problems posting large amounts of text in a textarea field.

    I just tried it again and here did some screenshots.

    Here is a screenshot of a test with a large amount of text submitted via a form:

    http://www.twitpic.com/19er8k

    I am able to reproduce it on your site, Wilco, so that leads me to believe one of your other plugins is causing a conflict that is somehow causing data to be truncated.

    What you will have to do is check for theme or plugin conflicts. Activate the default kubrick theme and then test if truncation occurs. If by some chance the truncation doesn't occur, than it is a theme issue.

    It it does still truncate than it is most likely a plugin conflict.

    - Deactivate ALL plugins.
    - Activate Gravity Forms
    - Submit a test form and test for truncation
    - Activate each plugin one by one
    - Test Gravity Forms after you activate each plugin to test for truncation

    My guess is one of your other plugins is causing an issue with data being posted.

    Posted 14 years ago on Thursday March 18, 2010 | Permalink
  9. Carl did you receive my email description of this problem? I sent it in with the contact form and via email as well. I am able to recreate this problem consistently with the same text (the actual text matters, not the length of the text, in my case.)

    Posted 14 years ago on Friday March 19, 2010 | Permalink
  10. Yes, this is a different issue and we will be correcting the character issue.

    Posted 14 years ago on Friday March 19, 2010 | Permalink
  11. Thank you.

    Posted 14 years ago on Friday March 19, 2010 | Permalink
  12. Any word on a fix for this?

    Posted 14 years ago on Friday March 26, 2010 | Permalink
  13. mofx: Are you experiencing the same issue? If so follow the instructions above. Wilco hasn't responded with his results. The issue can't be replicated locally which means it is most likely a plugin conflict or server configuration issue specific to the site experiencing this issue. So far only Wilco has reported this specific issue. Illinoisharley's issue is something entirely different.

    Posted 14 years ago on Friday March 26, 2010 | Permalink
  14. I'm working on this right now, couple questions, I deactivate GF also? If I deactivate feedburner feedsmith, do you know will that screw up the feed in anyway once I reactivate it. thanks

    Posted 14 years ago on Monday March 29, 2010 | Permalink
  15. I'm not familiar with the Feedsmith plugin. All I can say is check to see if it has settings and what those settings are before you deactivate. Then when you reactivate it, check to make sure the settings are the same.

    Most plugins retain settings when you deactivate them. Although some remove the settings. Some plugin developers haven't quite figured out yet that just because you deactivate a plugin doesn't mean you are uninstalling it.

    Posted 14 years ago on Monday March 29, 2010 | Permalink
  16. I've tried deactivating all plugins and reactivating GF and I am still getting my data paragraph truncated at 200 characters. Not sure what to do? Suggestions?

    Posted 14 years ago on Tuesday March 30, 2010 | Permalink
  17. We would have to take a look at it ourselves and debug the issue. This would require a WordPress admin login and possibly FTP access. You can send us the login information via the Contact Us form on this site and we will take a look and see what is going on.

    Posted 14 years ago on Tuesday March 30, 2010 | Permalink
  18. Sent you login info

    Posted 14 years ago on Tuesday March 30, 2010 | Permalink
  19. bartv2
    Member

    Any new insights? I'm running into the same issue, but I'm not sure if I can share the admin login..

    Thanks!

    Posted 14 years ago on Friday April 9, 2010 | Permalink
  20. bartv2
    Member

    Okay, here's what I've been able to gather so far:

    I'm using a gform_post_submission hook to turn the form's input into a proper post (image and everything). The handler gets passed 'lead' data that in turn comes from

    self::handle_submission($form, $lead); (form_display.php).

    handle_submission does a:

    $lead = RGFormsModel::get_lead($lead["id"]);

    and here's where it goes wrong: get_lead doesn't query the 'long' lead values table. So even they're properly stored in the database and shown in the entries field in the WordPress backend, my hook handler is still passed truncated data and things fall apart.

    Posted 14 years ago on Friday April 9, 2010 | Permalink
  21. We weren't aware you guys were using hooks to manipulate fields to create a post. That is why you are getting truncated data and why we couldn't recreate it on our end because we weren't manipulating the data using the gform_post_submission hook and just doing a standard form submission.

    When a field consists of a long value it gets truncated. The truncated value is stored with the main entry data, and then the long value is also stored. The truncated value is used in certain areas to speed up queries where the long value isn't necessary. This comes into play in areas such as the Entry List page if you select it as one of the columns in the column customizer. It's done under the hood for performance reasons to speed interaction up in the admin.

    Gravity Forms knows to pull the correct long value when displaying field data, however you were unaware this occurs and your custom code doesn't do this which is why you are getting the truncated value.

    Our lead developer will be responding to this thread additional information. The truncation is by design, you just need to know where to pull the full value from.

    Posted 14 years ago on Friday April 9, 2010 | Permalink
  22. bartv2
    Member

    Thanks Carl! I don't know if this was the cause of the other issues above as well, of course.

    Even if the truncation is by design (which makes sense), there's no reason to offer the truncated data to the gform_post_submission function, is there? The current behaviour is quite unexpected.

    Anyway, I hope we'll get a workaround/fix soon! *keeps fingers crossed*

    Bart

    Posted 14 years ago on Friday April 9, 2010 | Permalink
  23. All,
    I do agree with Bart that the full value (not the truncated one) should be passed to the hooks. I will add this to my list of items for the next release. Meanwhile, you can use the following code snippet to get the full value of the fields inside the hooks.

    //reading value for field 13. Replace 13 with your actual field id
    $field_value = strlen($entry[13]) >= GFORMS_MAX_FIELD_LENGTH ? self::get_field_value_long($entry["id"], 13) : $entry[13];
    Posted 14 years ago on Friday April 9, 2010 | Permalink
  24. bartv2
    Member

    That did it - thanks!!

    Posted 14 years ago on Friday April 9, 2010 | Permalink
  25. I have the same problem. I have created a simple contact us form, but the text written into the message text area, is truncated, when it is shown in the admin backend, and in the email confirmation which I send to the submitter, by inserting the {field:4} in the email content.

    But the long version is saved into the database, in the wp_reg_lead_detail_long table, but is not really used.

    How can I get gravity forms to use the long version of the text area.

    I am using version 1.4.3.1

    Posted 14 years ago on Tuesday October 12, 2010 | Permalink
  26. @hgr Please use the export form tool to create a form export XML file of the form in question and put it on a server and provide a link where we can download the XML file so we can try testing with your form setup.

    Posted 14 years ago on Tuesday October 12, 2010 | Permalink
  27. Hi Carl

    You can get the xml here :

    http://dl.dropbox.com/u/3809836/gravityforms-export-2010-10-13.xml

    Posted 14 years ago on Wednesday October 13, 2010 | Permalink
  28. Carl did you have a chance to look at the problem?

    Posted 14 years ago on Monday October 18, 2010 | Permalink
  29. @hgr Yes, I had sent you an email regarding this. I was unable to reproduce the issue using your form export file on the latest version which means this is probably something specific to your site configuration. In order to look into this further I would need you to send us a WordPress admin login for this site so we could take a look.

    Posted 14 years ago on Monday October 18, 2010 | Permalink
  30. Hi Carl

    I have not received an email, from you, it must have gone into a spam filter some where.
    If you give me your mail account, I will mail create an admin account for you, and mail you the details.

    I have to warn you, the site is in DANISH. :-)

    Posted 14 years ago on Wednesday October 20, 2010 | Permalink
  31. You can send this information to carl@rocketgenius.com, Danish should be fine as I know what everything is in Gravity Forms. Thanks!

    Posted 14 years ago on Wednesday October 20, 2010 | Permalink
  32. Email is on the way

    Thanks for your help so far.

    Posted 14 years ago on Wednesday October 20, 2010 | Permalink
  33. Hi Carl

    Not to rush you but have you had any luck with the user credentials I made for you?

    Posted 14 years ago on Friday October 22, 2010 | Permalink
  34. Hi Carl

    It has been a while, and I have not heard from you. Have you had any luck in finding the problem.

    Posted 14 years ago on Tuesday December 14, 2010 | Permalink
  35. @hgr I had replied to this with the issue, which I just reverified. The issue is another plugin on your site is causing the problem. The "Newsletter" plugin is interfering somehow with how Gravity Forms works. This happens when a plugin isn't built using best practices, it shouldn't be outputting code on the Gravity Forms related admin pages but it is. You can see the issue is resolved when you deactivate the "Newsletter" plugin. We are going to see if we can determine why the conflict is happening, but it isn't something we can resolve as we are doing nothing wrong. The developers of the "Newsletter" plugin would have to change their plugin.

    Posted 14 years ago on Tuesday December 14, 2010 | Permalink

This topic has been resolved and has been closed to new replies.