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
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.
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
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
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
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