Hi guys, I'm currently on Dataverse and building a Model Driven App (MDA). Let's say I have a table named Customer Feedback and the primary column is Feedback ID with Autonumber data type, and already properly configured into a MDA.
By default, the homepage will be the View page. Whenever the user wants to create a new record, the user will have to click on New button on the View page which leads to the main form. The user will then fill up the form and click on Save. A new record is then created and a new Feedback ID being generated after clicking on the Save button.
The question is: Can I create a new record and generate a new Feedback ID right after I click on the New button? Without having to click on the Save button.
I'm thinking of using the Onload Event Handler in form configuration by bringing in javascript. If this is a feasible way can any one of you help to provide the javascript code to perform this action? Thanks.