• Resolved sjreeves

    (@sjreeves)


    In the past, clicking on the View link showed the filled-out form entry with grayed-out fields. Now everything is editable, although there is still no submission button that would allow the edited entries to be saved.

    Any idea what might be going on?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author fried_eggz

    (@fried_eggz)

    Thank you for this bug report. I have confirmed it and will release a fix next week. Will let you know when its uploaded

    Plugin Author fried_eggz

    (@fried_eggz)

    This has now been fixed and uploaded. You need to manually download the plugin again (no new version)

    Thread Starter sjreeves

    (@sjreeves)

    Thanks for the effort.

    I replaced the plugin from the download link https://wordpress.org/plugins/gravity-forms-sticky-list/

    Unfortunately, that did not fix the problem. Fields are not grayed out.

    Plugin Author fried_eggz

    (@fried_eggz)

    That is wierd. I have rechecked the update and everything seems fine.

    If you open the file class-sticky-list.php in the plugins main folder and scroll to line 933. Do you have this code?

    $("#gform_wrapper_<?php echo $form_id;?> .gform_page_fields input").attr('disabled','disabled');

    Thread Starter sjreeves

    (@sjreeves)

    I double-checked everything and even went to https://plugins.trac.wordpress.org/browser/gravity-forms-sticky-list/trunk and downloaded a fresh copy. It has the line above at 933. Unfortunately, I’m still not seeing anything grayed out.

    Thread Starter sjreeves

    (@sjreeves)

    Is there anything I can do to help debug this? I looked at the source of the viewed form, and that line shows up in the jquery script block. It just doesn’t seem to have the desired effect.

    Thread Starter sjreeves

    (@sjreeves)

    My form didn’t have .gform_page_fields. When I changed it to .gform_fields, it worked partially. However, it only disabled <input> fields, not other fields like <textarea> and <select>. After educating myself a little on JQuery — thanks for forcing me to do that 😉 — here’s an alternative that works. And I think it works for all form fields:

    $('div[id="gform_wrapper_<?php echo $form_id;?>"]').find(':input').attr('disabled','disabled');

    I also discovered that this works:

    $("#gform_wrapper_<?php echo $form_id;?> .gform_fields :input").attr('disabled','disabled');

    Check that out, and let me know if that will do it.

    Plugin Author fried_eggz

    (@fried_eggz)

    Ahh. Thanks for this. This is indeed a bug. I will fix it, probably tomorrow. I will post back. Thanks again.

    Plugin Author fried_eggz

    (@fried_eggz)

    This has been fixed and and uploaded (no new version). Thanks again!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘view mode not graying out form fields’ is closed to new replies.