• Hi,

    Just upgraded to 1.5 from the previous version and found some issue, which I hope that you can help with…

    You can see the form here – https://www.emigrationonline.com/assessment-form and look for the “List of Dependant children” in this form where the date column is implemented.

    – In the front end, the new date icon appears twice below the input. Also, having an icon here and not on the other regular date fields in the form (such as “Date of Birth” in my form) is not consistent. If I have the option (on a regular date field in GF) to configure whether the date icon is shown or not, this option should be available for date field column as well.

    – In the admin area, in the specific form editor screen, where the date column is configured, I have noticed that the format field (on the selected date column) is not shown. Only when I un-check the date column and re-check it, the date format appears. I un-checked it and rechecked it in order to set the format to dd/mm/yyyy, saved, but I can’t tell if the desired format was saved because the format is not shown…

    Please advice, and of course if you need additional information or help from my side, just let me know.

    Thanks,
    Nir

    https://www.ads-software.com/plugins/gravity-forms-list-field-date-picker/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ovann86

    (@ovann86)

    Hey,

    Thanks for sharing the link, it helps to check out the issue and see where and how the plugin is being used.

    1. Calendar icon appearing twice

    It looks like this is happening because your page is calling the ‘gform_post_render’ trigger twice. Normally this trigger is only ran once per form load or page change.

    I would call this a bug and it may be caused by Gravity Forms, another plugin, custom code or even your theme.

    I’m working on a workaround for this, but you may run into issues with other plugins running things more than once as well.

    2. Ability to control the calendar icon

    Good point.

    I’m working on the ability to choose if an icon is displayed or not.

    3. Date format not displaying when field is ‘date picker enabled’

    I’m having troubles reproducing this issue.

    I’ll keep at it and see if I can work out why it might happen.

    Hopefully I’ll be able to release an update for these in the next 24 hours.

    Thread Starter nir_r

    (@nir_r)

    Thanks much for your detailed answer ??

    Based on your answer, I went to check the code of the website, and I would like to add the following information:

    1. I looked at the other GF related plugins that I’m using in this website (GF entry expiration, GF coupons, and GF eWay Pro gateway), and didn’t find any reference to ‘gform_post_render’. I eliminated the theme as well (a simple and clean genesis child theme). I suspect that it has to be with a simple custom code that I added, given by the GF support, in order to set a column as a select element with predefined values, and set a column as a textarea instead of an input.
    I’m using these two filters:
    add_filter( ‘gform_column_input_1_2_3’,……
    add_filter( ‘gform_column_input_content_1_2_3’,……

    Other than that, I have no idea what may call the ‘gform_post_render’…

    2. Thanks ??

    3. May I suggest a way in which you could recreate it (these are the steps that the form that I reference in this tread was created) –
    – Create a new form and add a list element to it with 3 columns.
    – Install and activate your previous plugin version
    – Go back to your form and set one of the columns to be a date picker.
    – Save and check if the date format is still shown or not…

    Thanks again for all the help ??
    Nir

    Thread Starter nir_r

    (@nir_r)

    Hi,

    Just upgraded to 1.6 – thanks for the quick code changes ??

    The front-end looks fine now – the calendar icon is not shown, however, the back-end has some issues, and I assume they are just visula and not representing the actual data in the database:
    As you saw in my list, there are 3 columns, and only one of them is a date picker, and after the upgrade, all 3 columns are checked as date picker fields and the new radio button value is not set (not enabled) for the date field.
    Since the front-end behaves as expected (only one column is a date picker, and the calendar icon is hidden, per my configuration), I assume that the issue is just a matter of populating the editor with the right values from the database.

    Thanks much :),
    Nir

    Plugin Author ovann86

    (@ovann86)

    Hey nir_r

    Sorry for the delay. I wish I had seen this post earlier – I just noticed the same issue with all columns being ticked (despite not all being enabled).

    I can see what’s going wrong and will push out an update shortly.

    Thanks again

    Thread Starter nir_r

    (@nir_r)

    Thanks much ??
    Will test it in the next few days after upgrading to your newer version.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issues after upgrading to 1.5’ is closed to new replies.