Elements ID in Forms

Hi,

Im just starting with Softr and having a bit a difficulty to understand how to grab a form element via JavaScript, JQuery.

  • Sometimes input fields has “name” attribute with a long id, is that reliable to use?
  • A dropdown for example doesn’t even has “name” attribute. I could use one of its classes + input type, but unsure if thats the best way?
  • Why I can’t identify via inspect any hidden fields? Any possible way to set values to them via custom code?

Ps: Its a form linked to Airtable table.

Appreciate your help.

Tks

How come you’re not using our forms? That would be easier I assume.

Otherwise, some of our CSS selectors are stable, and you can find a list of them here: Custom Code Events and Style Selectors – Softr Help Docs