Get the id value (from db) and add it to the output of a ui-form?

Might be a idea to add a hidden form type element, maybe worth a feature request.

1 Like

Perhaps. But I feel that too is a workaround for the lack of support for permitting extra/meta data to be included with the submission The better solution might be to send back the original payload but with the updated field rather than building a new payload from the fields. Or, at least permit a key to be included. There was a similar recent post around table rows not including meta info like the row number or identifiable meta data.

Maybe, but people with less skill in coding and beginners, may find it more intuitive to add a hidden field, this may be more visual in the flow for them. I agree that the payload should pass all added keys not in form to.

1 Like

Fair comment.

What is wrong with the much simpler method of using msg.topic?

1 Like

What is wrong with it is that it doesn't work as it should. I have submitted an issue. Form node does not pass on topic when configured to do so Ā· Issue #1453 Ā· FlowFuse/node-red-dashboard Ā· GitHub

1 Like