• Resolved German Ali

    (@germanserena)


    Hello! I am using Hustle and am very happy with it.

    I only have one topic I need help with: I need to find the “name” or “ID” attributes of the PopUp I created. I have searched the plugin settings but have had no luck.

    Is it possible for the plugin to define a “name” or “id” for each popup or form that is created?

    I am very attentive to your response
    Regards!

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @germanserena ,

    I’m not sure about your query, because all the elements in WordPress have their own unique ID.
    You can see it when you, for example, edit the element. It is the same case with Hustle modules.
    When you edit it, you will see in the URL’s its ID

    name of the module is the one you chose when created the module:

    Every popup, slide-in, or embed has its own ID.

    kind regards,
    Kasia

    Thread Starter German Ali

    (@germanserena)

    Hello @wpmudev-support2, thank you very much for the answer

    I need our popup forms to have an HTML attribute called ID, that information must be in the source-code of the page.

    Here is the reference of what I write: https://www.w3schools.com/tags/att_input_form.asp

    More specifically it is the attribute marked in this image: https://i.imgur.com/UVE4Tfq.png

    In other words, I need the ID in the “<form>” tag.

    In case ID is possible, the identification by “name” solves my need, example:

    <form name = “example”>

    Thank you
    I am pending again

    • This reply was modified 5 years, 9 months ago by German Ali.
    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @germanserena

    Thank you for the update.

    The form tag itself doesn’t have the ID, but the PopUp div has it.

    https://monosnap.com/file/4sltwrilhDAYdxh6CCaCvKNpr1R0gQ

    You can select it using:

    .hustle-popup.hustle_module_id_5 form{ // CSS }
    
    jQuery('.hustle-popup.hustle_module_id_5 form').on(.... ) // JS

    Another alternative is using our Forminator form into the Hustle content:
    https://ww.wp.xz.cn/plugins/forminator/

    This will allow you to create more complex forms into the Hustle.

    Best Regards
    Patrick Freitas

    Thread Starter German Ali

    (@germanserena)

    Hello @wpmudevsupport12 how are you? Thank you very much for the reply again.

    I think I am closer to solving this. I have two more queries:

    1) Sorry but I don’t have much idea what the “Div” is. Do I need a web developer to insert that code or can I do it on my own?

    2) On the other hand the “forminator” that you mention to me. If you have the possibility to create popups equal to Hustle, and have an “ID”?

    Thank you
    Regards

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @germanserena

    1) Sorry but I don’t have much idea what the “Div” is. Do I need a web developer to insert that code or can I do it on my own?

    You will be able to select the Div using this class:

    .hustle-popup.hustle_module_id_ID form, the _ID is your form ID.

    But it depends on what you would like to do, a custom CSS or custom JavaScript function.

    In case you need to create a more complex function I would suggest checking with a developer.

    2) On the other hand the “forminator” that you mention to me. If you have the possibility to create popups equal to Hustle and have an “ID”?

    You will use both plugins, but instead of creating a Hustle > PopUp > Email Opt-in type, you can create an Informational PopUp and then inside of Content > Text, you can add your form shortcode

    https://monosnap.com/file/csnyF0h4lhE14SoKrJfO5JXxxVZaeY

    Forminator form allows you to create a more complex form, so it is a good workaround.

    Let us know if you have any additional question.
    Best Regards
    Patrick Freitas

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hey @germanserena

    It’s been a while since we’ve heard back from you so I’m going to mark this thread as resolved. You can still post back any updates or create a new topic.

    Warm regards,
    Dimitris

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

The topic ‘define the same “name” attribute for all forms’ is closed to new replies.