• Resolved KevEd

    (@keved)


    Hi, thanks for writing a very useful plugin.
    I have two questions:

    1. My form is already using a CSS class for ‘gf_left_half’ column placement, how do I add a second class ‘readonly’ for that form element?

    2. The reason for making some fields ‘readonly’ is to retain their pre-populated data, if my field includes the shortcode {user:first_name} will it work, or will the plugin prevent the pre-population of the field?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @keved,

    1. You can just insert a space, then the class. For example, the class field would look like “gf_left_half readonly”.

    2. Any data that is pre-populated will be maintained – the plugin won’t strip it out.

    Thread Starter KevEd

    (@keved)

    Thanks for your help, that’s a great solution.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Field already using a CSS class’ is closed to new replies.