Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter troyjaus

    (@troyjaus)

    3) Also – my previous question (2) Global vs Page-specific class wasnt answered. I find this concept confusing and some explanation would be appreciated – as to how a class specified on a page (that might differ to the same form’s implementation on another page) can be used within a globally defined event-handler within the form’s definition centrally. What if two pages provided different class names for the form? How would the event handler be written…..?

    I hope i’m being clear as to why this is confusing.

    Thread Starter troyjaus

    (@troyjaus)

    Hi, and thank you for the response. And appreciate the video, although it didnt help me much with my questions … as I’ll explain.

    I still have open questions from previous.

    1) My Elementor no longer has a widget “Calculated Fields Form” available. This is what I meant. Why would this be missing when I have the plugin installed and operational?

    (I can copy the section and widget-form from an existing page to a new page, but I cannot insert again as you demonstrate as the widget is NOT available to me any longer to insert for some reason.)
    Calculated Fields Form v1.1.68
    Elementor 3.5.5
    Elementor Pro 3.6.1

    There is a button in the text editor widget…. but again this does nothing to insert a form, and as mentioned the widget you show is not in the list.

    2) While the video shows setup of class as I had guessed, and then inspection to show this…. what I would really appreciate is the syntax for the onChange event handler. ie. Demonstrating the change to use the Class_name in a practical situation to identify the field without the ambiguity.

    Thanks,
    Troy

    Thread Starter troyjaus

    (@troyjaus)

    Hello – thank you for the input. I understand the principle of what you suggest, and agree.

    However I have some confusion. I will try to explain.

    1) I am using Elementor – I wanted to re-create the usage from the beginning – but I cant recall how the CFF was added to my elementor page in the first instance? I cant find an appropriate control to add to my page. There is no “Calculated Fields Form” within the widget list…. and yet I obviously added it once in the past.
    This page does not really explain
    https://cff.dwbooster.com/documentation#insertion-page

    The button within the text-editor field-widget is not adding the form… nothing happens.

    2) How do I set the class when using Elementor? Via the Additional Attributes field in Elementor? I am confused that this seems to set the attribute on this single page – and yet the change you’re proposing in identifying fields is within the form definition itself, globally. I find that confusing.

    The same would be true if I followed your instruction of manually changing the shortcode on the page in question. To me that implies a class name locally on that instance of the form (on that page) and yet editing of the onchange events globally to use the class.

    3) I am uncertain of the syntax to use please for managing the onChange events. Can you detail please equivalent to the snippet that I provided?

    4) Do I need to alter the formulas for calculated fields (to use classnames as well as field names) – or is this only applicable to handling the onchange events?

    For example I might have a calculation like this:
    DATEDIFF(fieldname6, fieldname7, ‘dd-mm-yyyy’, ‘d’)[‘days’]+1

    Again – syntax example will help please.

    5) Is it possible to change the fieldnames themselves? That might be an alternative way to distinguish them uniquely.

    ~~~~~
    It would be really good to add this to your tips and tricks or other documentation. Searched but found nothing on the above.

    Thread Starter troyjaus

    (@troyjaus)

    NEVER FOUND THIS – but by replacing the fields with new identical fields the form is again working. As this is a production form we will proceed on this front without working out why Field1 was behaving as above.

    I will mark this as resolved.

    Thread Starter troyjaus

    (@troyjaus)

    In comparison – Examine the Letting Fee Calculator (Form #1 on the page). This has identical structure and field setup. Yet this form is working perfectly correctly.

    NOTE FYI on both forms the Form Settings include:
    – Dynamically evaluate the equations associated with the calculated fields
    – set as onchange and keyup

    Thread Starter troyjaus

    (@troyjaus)

    Thanks, I have isolated the issue to the sticky footer and the fact I had lifted the google reviews widget up the site page.

    Everything lower down than that vertical position was being ‘covered’ as you say.

    I’ll investigate if a better way to house that widget and still achieve design we wanted.

    If not will trial your proposed solution – likely the issue is more widespread than just your calculated field forms.

    Appreciate the help.
    Agree solved.

    Thread Starter troyjaus

    (@troyjaus)

    Hello and thank-you for the impressively quick response.
    I am not a developer. Utilising Elementor page builder…. and again the page hasnt changed since inception.

    Can you advise what these DIV tags are? How I find them? Where they came from?

    The page was always working fine…..

    Yes, possible I guess that an elementor update caused this and your comments align with my thought that it appears events are being trapped.

    I’m just not sure given nothing changed what I should do in regards “it is preferred you redesign the page’s structure”.

    (I do have one idea that I recently implemented a google widget – presently housed in the footer as a sticky footer over the top of the site…. I’ll look into this…)
    Regards
    Troy

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