• Resolved Dumel

    (@dumel)


    If you select “Yes” to the question “Have you booked your flights?” two date fields open up, and when you try and select a date, the formatting is completely broken on the calendars. It makes them impossible to use.

    It also seems that if you make field ABC “required”, and if ABC is conditional on field XYZ first being selected, form submission will fail if field ABC is not filled in, even if ABC is hidden at the time because XYZ was never selected.

    I hope you can assist with these issues 🙂

    Hennie

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter Dumel

    (@dumel)

    Please rather use this test page. It has the same form and the same issues. I had to replace the original form’s date pickers with input fields so it can be used:

    https://pemburytours.com/test/

    Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hello @dumel

    Hope you’re doing well today! I am sorry to hear about the issue you’re facing with Forminator.

    I was able to replicate the issue on the test page you shared where the datepicker layout looks to be breaking. However, I was not able to replicate the issue on my lab site. I also could not see any console errors that could be causing it.

    It seems that the issue is isolated to your site/form. Would it be possible to make the below tests so that we can narrow it down further?

    Please create a test page using the Default WordPress Editor (not via Elementor) and add the form to the page and check if it works fine.

    Please let us know how it goes. In case that doesn’t help, could you please share the form export with us so that we can take a closer look at the form.

    Regarding,

    It also seems that if you make field ABC “required”, and if ABC is conditional on field XYZ first being selected, form submission will fail if field ABC is not filled in, even if ABC is hidden at the time because XYZ was never selected.

    I created a test form in my lab environment and created XYZ as a Select Dropdown – Wherein Option 1 would show the ABC field (which is set as required) and Selecting Option 2 would hide the ABC field.

    I was able to successfully make a submission after I selected “Option 2” which would hide the “ABC” Field.

    Can you please confirm if you are noticing the issue on the same form too?

    For both the issues, could you please share the Form exports (saperately) with us so that we can troubleshoot it further?

    To share the form export
    – Navigate to the “Forminator -> Forms” page in your site’s back-end
    – click on a little “gear” icon next to the form in question
    – select “Export” option
    – copy given export code and paste it at https://pastebin.com
    – include link to that paste in your response below.

    Note: this export will not include any data that is already submitted – they’ll stay safely on your site and we don’t need them anyway.

    Kind Regards,
    Saurabh

    Thread Starter Dumel

    (@dumel)

    Dear Saurabh

    Thank you for your response. I have made a plain (non Elementor) post and page and as you can see that does improve the layout but doesnt completely fix it:

    https://pemburytours.com/test-form-post/?purged=1
    https://pemburytours.com/test-form/?purged=1

    Here is the form: https://pastebin.com/kp6dgQ00

    Kind regards
    Hennie

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @dumel

    Thank you for the update

    Could you add this CSS to your WordPress using WordPress > Appearance > Customize> Additional CSS ?

    .ui-datepicker.forminator-calendar--material{
        max-width: unset !important;
    }

    The problem is coming from https://wordpress.org/plugins/wp-travel-engine/, The issue is the plugin is also using the ui-datepicker but set a max width, the ideal scenario would be adding that max width into a custom class instead of the generic ui-* class.

    https://monosnap.com/file/IiolEbp1jelDlUNKtCEPvK0y3FschT

    But the shared CSS should bypass the problem on Forminator form when using the material design.

    Let us know the result you got.
    Best Regards
    Patrick Freitas

    Thread Starter Dumel

    (@dumel)

    Hi Patrick

    I’ve added the CSS you sent but it doesn’t seem to solve the issue. Any other ideas I might try?

    Kind regards
    Hennie

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @dumel

    I tested your page and it seems that CSS helps in general to make the correct width of the calendar. Do you mean that the calendar does not look good still when it comes to rows and cell colors? Apart from that functionality seems to work well.

    Kind Regards,
    Kris

    Thread Starter Dumel

    (@dumel)

    Hi Kris

    Thank you – I also see a normal width now – it seems the cache takes a long time to expire even if I clear it. I have now put the datepickers back into the live page here https://pemburytours.com/enquire/ but the default custom “Table cell BG” colour I’ve set (white) is not working. The active value (f7693b) is also not working and neither is the current value (17A8E3). Perhaps it works by the time you check but this is what it looks like to me https://snipboard.io/zLgPeA.jpg.

    Kind regards
    Hennie

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @dumel

    I can see the issue still happening and it is due to a conflict between forminator CSS code and Elementor styles,

    You can add a custom CSS to override the date picker colors. Please use these classes to change the color for date picker numbers (add color and background color).

    .ui-datepicker-calendar tbody td a.ui-state-default{}

    Kind Regards
    Amin

    Thread Starter Dumel

    (@dumel)

    Hi Amin

    Thank you everyone. Support has been amazing and I finally have it looking decent 🙂

    Kind regards,
    Hennie

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

The topic ‘Calendar and Validation Issues’ is closed to new replies.