Gravity Perks - Read Only 1.9.1

No permission to download
Download Gravity Perks - Read Only 1.9.1. Mark your form fields as read-only to allow users to see field data but not modify it.
What does it do?
The Read Only perk allows you to configure applicable form fields to be set to a read only state. Fields set to read only will be visible but not editable. In other words, the user can “read” the field value but can not change the field value. This is useful in situations where you would like to present information to the user without the user being able to modify that data. One such example is a Paragraph field (textarea) populated with your terms of service.

How do I enable this functionality?
The read only setting can be enabled by navigating to the “Perks” tab on an applicable field and checking the “Read Only” checkbox.

Next you will want to specify a default value for this field. To do so, navigate to the field’s “Advanced” tab and find the “Default Value” setting. Enter the desired value or select a merge tag by clicking the “Merge Tags” icon to the right of the field.

Step by Step
Below are step by step instructions for activating this functionality on any form:

  1. Navigate to the Gravity Forms Form Editor.
  2. Select the form for which you would like to mark as read only.
  3. Add any field of a supported field type. All fields are supported except for Drop Downs, Checkboxes, Multi Selects and Radio Buttons.
  4. Navigate to the Perks settings by clicking on the “Perks” tab.
  5. Check the “Read Only” checkbox to activate the functionality for this field.
  6. Navigate to the Advanced settings by clicking the “Advanced” tab.
  7. Enter the desired value or select a merge tag by clicking the “Merge Tags” icon to the right of the field (available in Gravity Forms v.1.7).
How does it work?
When the form loads, the Read Only checks for any field marked as read only. When enabled, the “readonly” HTML attribute is appended to the input or textarea tag when the field markup is generated by Gravity Forms. The benefit of adding this directly to the form markup is that we do not need to rely on Javascript to append the “readonly” attribute after the form has rendered.
Last update
0.00 star(s) 0 ratings

More resources from Eduard

Latest updates

  1. 1.9.1

    Fixed an issue where GPRO UI may show an incorrect state.
  2. 1.9

    Fixed a potential issue where GPRO may cause form validation to fail.
  3. 1.8

    Fixed a compatibility issue with GPPA Field Value Objects.