This topic is locked

addValidation on Inline Edit/Spreadsheet page?

6/3/2024 7:16:00 AM
PHPRunner General questions
T
telematics author

hi dear PHPRunner community,

how is it possible to apply addValidation for specific fields on Inline Edit/Spreadsheet page? I need this for dynamic configuration of requirements of the shown table content.

I tried this in the JS Onload event:

var field = Runner.getControl(pageid, 'specific_field');
field.addValidation("IsRequired");

this works in Add and Edit page, but not in Spreadsheet

regards,
Helmut