Line Items set a field as Required

Hello everybody,
does anyone know how can i set to required a field in a line item of a quote?

thank you very much!
:cheer:

Not by default, there are no such options available. But you need to customize the javascript to make it required field.

1 Like

Thank you for the quick reply; i’ve already modified the line_items.js and i added ‘required’ to the html input div but when i save the quote there is no control on the lines.
Other suggestions?

You may need to try addtovalidate function.
Take a look here https://suitecrm.com/suitecrm/forum/developer-help/26707-addtovalidate-for-quick-create-view

1 Like