Disable batch or change element options by batch

is it possible to change the batch and disable the ones that are hidden?
Or for example just change richselect options?
all this because when submitting the form, I need you to send only the batch that is active

The getValues API can exclude hidden fields

// get data from visible fields only
const data = $$('myform').getValues({


1 Like

Thank you very much :grinning: :grinning: :grinning: :grinning: