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.

Additional field type - text only

  1. I'm in need of a text-only "field" type. The purpose would be to insert additional instructions, html, etc. into the form in a way not specifically related to another field or section break. There's a similar field type in cforms, just for reference.

    For formatting purposes, it wouldn't require a title like the section break does, and the text can be styled differently.

    One thing I'd like to be able to do with this is have an actual field for use with conditional logic that will allow the contents of the text field to be emailed to the user.

    Example: A yes/no drill-down scenario where the end result is a set of instructions (in the text field) that the user can choose to have emailed to them if they enter their email address and hit submit. At it stands right now, if I use sections to hold the instruction text, the email sends all the section headers (regardless of what's shown per the conditions) and none of the section content to the end user.

    A textbox doesn't work for my purpose because I can't put links in it.

    Posted 15 years ago on Friday December 11, 2009 | Permalink
  2. I agree this would be a good feature (I too used to use cforms).

    Posted 15 years ago on Saturday December 12, 2009 | Permalink
  3. We've had a some discussions lately about this same type of field, even earlier today. It's probably going to make one of the next releases.

    Posted 15 years ago on Saturday December 12, 2009 | Permalink
  4. RichardBest
    Member

    Cool. I could do with that too, thanks. Would be an excellent feature.

    Posted 15 years ago on Saturday December 12, 2009 | Permalink
  5. JoeTorma
    Member

    Ditto - need a read only or custom text field as described for use in Terms of Service inclusion in the form logic.

    Thanks,
    Joe

    Posted 15 years ago on Tuesday December 15, 2009 | Permalink
  6. Ditto - that would be very useful for Terms of Service. Trying to figure out the best workaround to get a decent TOS up using Gravity Forms...

    Posted 14 years ago on Tuesday May 18, 2010 | Permalink
  7. @gringojason, you can always use a single, required checkbox field for the terms of service.

    admin setup

    and to keep the form tidy, you can use a little jQuery to link your label to the TOS on another page.

    <script type="text/javascript">
    	jQuery(document).ready(function() {
     		jQuery(".gchoice_5_1 label").html('I have read and agree to the <a href="http://www.google.com/accounts/TOS" name="terms" target="_blank">terms and conditions</a>');
    	});
     </script>

    just replace "gchoice_5_1" with your your actual input class name.

    screenshot 1, screenshot 2

    Posted 14 years ago on Tuesday May 18, 2010 | Permalink
  8. dbone
    Member

    New to GF but I am noticing that jQuery is being used a lot to fix items that should be added to core. jQuery solutions are great as long as JS is enabled on the browser.

    Another vote for an open text region with full HTML support. TinyMCE support added would be best.

    Posted 14 years ago on Friday June 4, 2010 | Permalink
  9. Thanks for the suggestions.

    I agree that some things should be added to the core. There are lots of features we plan to add as we go along, but for now, the jQuery solutions get the job done. You have to remember that Gravity Forms isn't even a year old so there's lots more to do and features to add as it matures.

    Personally, I've never met anyone who browses with Javascript disabled so I'm not sure that's really a concern for about 97% of users. If they've disabled JS, then other core form functionality like conditional logic and the datepicker wouldn't work either.

    As you've noted, we have already discussed adding a freeform text section that will allow you to add any HTML markup you want inline in the form. I'm not sure exactly what release that will be in, but it won't be too far down the line.

    As far as a WYSIWYG editor, we may add support for that at some time as well. For now, it's easy enough to add something like NiceEdit (just 2 lines of script) to your page and enable that kind of functionality.

    http://nicedit.com/

    Posted 14 years ago on Friday June 4, 2010 | Permalink

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