# Customize UI-Form Inputs

**URL:** https://discourse.nodered.org/t/customize-ui-form-inputs/83910
**Category:** Dashboard
**Tags:** function-node
**Created:** [21 December 2023 11:09 UTC](https://discourse.nodered.org/t/customize-ui-form-inputs/83910 "2023-12-21T11:09:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Schlitz](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@Schlitz](https://discourse.nodered.org/u/Schlitz)
#### Post date: [21 December 2023 11:09 UTC](https://discourse.nodered.org/t/customize-ui-form-inputs/83910/1 "2023-12-21T11:09:11Z")

</div>

Hello everyone, I would like to automatically convert numbers that I enter in a UI\_Form Node to a special format.

I am currently entering different numbers in defined fields in the UI\_Form Node:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/d/2d8c38e7799d09fbab7f3b6523650076803f8c41.png)

Some numbers such as: parentIDSGTIN, parentIDSSCC and parentIDGIAI should be adjusted afterwards. I would like to solve this using a function. However, I cannot then bundle the values back into one file.

Is this even potentially possible?  
So that I edit individual numbers using functions and then merge them again?

---

<div class="post-metadata">

### Author: ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)
#### Post date: [21 December 2023 11:52 UTC](https://discourse.nodered.org/t/customize-ui-form-inputs/83910/2 "2023-12-21T11:52:26Z")

</div>

I'm not sure I have this right....

But you can set the values of the form elements, after its been submitted, if that is what you mean.  
I'm pretty sure that you can modify the value for all fields in 1 payload

![Dec-21-2023 11-51-20](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/e/2e96a409004381b946eed761c0c5228dc68a2c31.gif)

 ![Screenshot 2023-12-21 at 11.52.07](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/f/8f914d67e694a040877287fc2b76ca75dfbc17c7.png)

```auto
msg.payload.parentIDSGTIN = `#SomeSpecialThing - ${msg.payload.parentIDSGTIN}`
return msg;

```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [20 January 2024 11:52 UTC](https://discourse.nodered.org/t/customize-ui-form-inputs/83910/3 "2024-01-20T11:52:48Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
