Hi OutSystemsor, I created a screen for a Form. Inside a form, I have a table that can be edited with the icon at the right of table, but I cannot get the current input widget inside that table in Action to make a validation. Could anybody help me?
Here is the table
You can try this forge component ListValidation.
Install it and its demo and check implementation into demo then try to implement same logic in your application
I tried to copy it and it's work, thanks again Mr.
Hi Ngoc,
While you click save after editing this row you can send either Id of record as input parameter to save action if you retrieving it from database into list that you assigning to table then you can filter list by this Id to get row data and validate it or you can send current row number as input parameter to save action and use it as index of list to get current item data for validation for example "List[CurrentRowNumber].PICName"
You can find more options in this post :
https://www.outsystems.com/forums/discussion/67119/how-to-get-data-from-selected-row/
I understand what your says, but what I want is, if the current input has a wrong format, when I click Save, the textbox will show the validation message and the red borderlines. But I dont know how I can get the Input.Valid and Input.ValidationMessage to customize it
The widget is not showed in Client Action - If Condition