Validate an input inside a table records

Hello Outsystems Community,

may i ask, is there a way to validate an input inside table records widget?


Cheers,

Julius



Jun Jun wrote:

Hello Outsystems Community,

may i ask, is there a way to validate an input inside table records widget?


Cheers,

Julius



Hi Julius,

We can validate the input in the table records

I think you are using Editable table, even if not you can an add action which will called on every on change of the item and in that action you can specify flow to validate.

Let me know if that work for you.

Thanks

Kirit


Solution

Hi Jun,


You can do it for example on the On Row Save event, validating the input widgets as is normally done with forms.


Please find attached a working example.





Cheers,

Renato


Jun Jun wrote:

Hello Outsystems Community,

may i ask, is there a way to validate an input inside table records widget?


Cheers,

Julius





Solution

Hi Renato,

thank you for your input, yeah i will use this implementation, 


Renato Torres wrote:

Hi Jun,


You can do it for example on the On Row Save event, validating the input widgets as is normally done with forms.


Please find attached a working example.





Cheers,

Renato


Jun Jun wrote:

Hello Outsystems Community,

may i ask, is there a way to validate an input inside table records widget?


Cheers,

Julius







Renato Torres wrote:

Hi Jun,


You can do it for example on the On Row Save event, validating the input widgets as is normally done with forms.


Please find attached a working example.





Cheers,

Renato


Jun Jun wrote:

Hello Outsystems Community,

may i ask, is there a way to validate an input inside table records widget?


Cheers,

Julius





Hi Renato,

I am creating a reactive web app in outsystems 11 and i am not able to find any row save event for table records. Can you help me to achieve same while using table records widget


Jozy Sohail wrote:

I am creating a reactive web app in outsystems 11 and i am not able to find any row save event for table records. Can you help me to achieve same while using table records widget


Hi Jozy,

You can create editable table by using Input widget instead of expressions in Table Record Widget. Ypu have to define Save action , Add action and Delete action if required.

Please find sample oml where only save action is implemented.

I hope this will help you.

Thank you,

Alefiya