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.

Insert A Form options

  1. By default, GF options for "Display form title" and "Display form description" are checked and "Enable AJAX" is unchecked when I attempt to insert a form into a post or a page using WordPress visual editor.

    I would like to know how I can
    1. Make both options "unchecked" by default. i.e without the need to uncheck them manually or modify the shortcode in the html editor view
    2. Remove the whole three options so when the user insert a form he would only be presented with drop down menu to select the required form which would result in inserting the form without displaying form title, form description or enabling AJAX

    Unfortunately, i could not solve this issue or find an answer online.Many thanks in advance

    Posted 12 years ago on Monday October 22, 2012 | Permalink
  2. Hello Gravity Form Team,

    I was wondering if you had a chance to look at my issue posted on 22nd Oct.
    I would be very grateful if you update me about its status.

    Many thanks,
    Fingo

    Posted 12 years ago on Wednesday November 7, 2012 | Permalink
  3. The function to insert a form is hard coded in gravityforms.php and I don't see any filters there. I don't think you will be able to change the way the dialog is displayed.

    However, you could theoretically write your own function to insert a form, copying the functionality from gravityforms.php (the function add_mce_popup) and change the way to dialog is presented when someone clicks on your icon. You'd have to hide the default icon provided by Gravity Forms.

    Or, since the dialog is presented using jQuery, you could change it with jQuery as well.

    Unfortunately, there is no native way to change the dialog for inserting the form shortcode. You will have to make some customizations for your application.

    Posted 12 years ago on Wednesday November 7, 2012 | Permalink