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.

RGFormsModel::get_leads() returns short entry text

  1. tamlyn
    Member

    I'm using RGFormsModel::get_leads($form_id) to fetch all entries for a form, however long text fields are coming back truncated at 200 characters. How do I fetch the full text of long input fields?

    Posted 12 years ago on Tuesday July 17, 2012 | Permalink
  2. Please see this post from lead developer Alex and see if it helps:
    http://www.gravityhelp.com/forums/topic/data-paragraph-text-missing#post-4575

    Posted 12 years ago on Tuesday July 17, 2012 | Permalink
  3. tamlyn
    Member

    Thanks, that worked, although the method signature appears to have changed since then:
    RGFormsModel::get_field_value_long($entry, $field['id'], $form)

    Posted 12 years ago on Tuesday July 17, 2012 | Permalink
  4. Yes, that was an old post. Looking through the source helps sometimes. Glad you were able to figure that out.

    Posted 12 years ago on Tuesday July 17, 2012 | Permalink

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