I have a form for product order, it connects to ‘orders’ collection.
The first field of the form is hidden on load and named ‘serial number’, it should take the value from other database collection.
The issue here is when customer submit the form, all his inputs are shown on database except the serial number(which should be pulled from other collection).
Hey there!
If you add another Dataset to the page so you can connect the hidden field to that dataset then you might be able to unhide it for testing purposes to see that the later on hidden field gets the input you want it to have.
Then you can use the setFieldValue in code to set that serial number to the dataset your users submit to make sure the field value is saved in that field before they submit or on the submit buttons onClick event.
Please upload a screenshot of the data collection if you can here and also your code and I will try to monitor this thread and help you in the best way I can.