question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is it possible to add Id on the form?

See original GitHub issue

Hi,

Is it possible to add an id to the form or tr element? adding the object name like Name so it can be hidden/show using checkbox?

So I can do something similar to this. https://jsfiddle.net/z_acharki/jnwrc5ay/216/

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
estradamarkiecommented, Feb 2, 2017

Nvm about my last comment, I’ve solved it.

Thanks.

0reactions
estradamarkiecommented, Feb 2, 2017

Is it possible to add custom class on textarea like input_id so I can get the value of each input. I know there’s a submit function but that’s returning me a JSON format which isn’t really necessary for my need.

I tried the code below but that didn’t work or do I have to do it separately?

if (element.tagName) {
            var tagName = element.tagName.toLowerCase();
            if (tagName === "tr" && tagName ==="textarea" ) {
                element.className="tr_"+schema.$id;
            }
         }
Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML form id Attribute - Dofactory
The id attribute assigns a unique identifier for the <form> element. Clicking the button calls JavaScript which locates the <form> using the id....
Read more >
How to Add Custom Unique IDs to your Form Submissions?
Click on the Form Elements button. Go to the Widgets tab. Search for “Unique ID”. Add the Unique ID widget to your form....
Read more >
How to add an ID to element in JavaScript - Educative.io
Adding ID to a new HTML element. First, create a new element. This can be done within HTML or with JavaScript. Use: const...
Read more >
Can I add id and class attributes to a form element?
Yes. You can add any id and class to a form by adding the html_id and html_class attributes into a [contact-form-7] shortcode. Example:...
Read more >
How to Add a Custom ID to Form Submissions in Jotform
Sign up for a free Jotform account at: https://link.jotform.com/WSlkC8WFZ6 Adding a custom ID to your form submissions can help you better ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found