You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Dynamically set readonly property on input text component in editable table

edited Aug 27, 2019 1:33PM in Visual Builder 2 comments

Content

I have an input table with an input text component as one of its elements.  I am using an array data provider to populate the editable table.  I am looking to do validation as I populate each input text and set the readonly property to false if a certain condition is met.

I have written the function below and I am calling it via a Call Module Functoin in one of my Action Chains on my page.  Initially, I am calling it during the vbEnter event.  However, I am still able to enter text.  I have analyzed the ADP, and I know for certain there are at least 2 rows where the condition I am checking is true.  I would expect for those 2 rows to be set to readonly.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!