Skip to Content
Menu
This question has been flagged
2 Replies
6373 Views

I want to get form values through controller,
As I want values of priority field
So I wrote below code:

class Assets(http.Controller):
@http.route('/helpdesk/accenture-care-1/submit', auth='public',website=True)
def from_submit(self, **kw):

print('>>>>>>>>>>>>>>test123', kw)

But I am getting blank value in kw,

So how to get value?Type a message

Avatar
Discard
Best Answer

you have to create HTML form in the page with action (/helpdesk/accenture-care-1/submit) and button type submit like

ref: https://www.tutorialspoint.com/How-to-use-the-submit-button-in-HTML-forms

Avatar
Discard