Using URL to fetch record and open in a stateless form
Struggling with a stateless form problem.
1. Public - stateless form
2. Form includes a lookup field; that once a lookup item is selected the record is fetched and the fields load with data.
r = Vendor_Dispatch [ID == input.Vendor_Dispatch];
input.Description = r.Description;
input.Open = r.Open;
input.Close = r.Close;
input.Start = r.Start;
3. URL to form has the lookup field at the end with the lookup ID
4. When the form loads the lookup field has the correct lookup item displayed. However the record isn't fetched. See attached image. You have to delete the lookup item, then re-select it and the record data is fetched and the fields populate with data.
I want to disable the lookup field or hide it entirely so the user doesn't see the other lookup values and select the wrong record. Any ideas on how to get the record fetched and data loaded upon load? Once I figure out that I can hide the field entirely.
Thank you!