I've successfully written a suitelet to generate a...
# suitescript
e
I've successfully written a suitelet to generate a custom form that shows the results of a saved search. If I add a dropdown field to act as a filter, do I need to add a client script that triggers on value change. The client script would call the original suitelet with the dropdown value as a parameter. Or, is there a better way to implement this behaviour?
b
its pretty common to use the submit button generate a new form with your search results
that way you can get the value of the filter field serverside
e
Thanks, but probably not what I am after. I've added a checkbox to each row so that one or more records can be 'processed' on submit. If I just rely on the submit action, I don't think I can cleanly distinguish between executing the search with a filter and processing the selected records. 🙏
b
you dont usually have a choice, changing the sublist clientside is slow and very visible
🙏 1