How validate after edit?
See original GitHub issueI tried a several times but no success. I need validate my new value after edit it. My table is all config in HTML, not in JS.
<table id="gridTable" data-url="getList.php" data-resizable="true" data-toggle="table" data-classes="table table-hover" data-striped="true" data-side-pagination="client" data-pagination="false" data-filter-control="true" data-id-field="COR01_ID" data-height="500" data-editable-emptytext="Empty" data-editable-url="updateField.php">
<thead>
<tr>
<th data-field="COR01_SEQUENCIA" data-filter-control="input" data-editable="false">SEQ</th>
<th data-field="DATA" data-filter-control="input" data-editable="true">
DATE
</th>
<th data-field="COR01_PLANT_ORDER" data-filter-control="input" data-editable="false">PO</th>
<th data-field="COR61_COD_MATERIAL" data-filter-control="input" data-editable="false">Code</th>
</tr>
</thead>
</table>
I try put data-editable-validate, data-validate and nothing work. How can I validade the value after edit??
I try validate in server side and response a string with the error but I can show this error because I dont have a callback to get it. How can I do this too?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
How can I validate input only after it was changed?
So, when I'm opening a page with this form, input is already red bordered, because it's empty. The question is - how can...
Read more >How to validate after user enters value and update value?
If you wish to validate the editor when you click out of the editor, handle the Form. Click event and call the TextEdit....
Read more >Updating data validation after editing the list
CTRL+H or Edit>Find & Replace · Find: [Whatever the old word was] · Replace with: [New word] · 'Replace All'.
Read more >More on data validation
Home tab, in the ; Editing group, click ; Find & Select, and then click ; Data Validation. After you have found the...
Read more >validation rule to fire only during edit
Hi I need to have a validation rule fire only when Lead object Email field is edited and not when inserted.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Full field definition:
I had a complex form with lots of validation - I did this for the editable settings
editable: { mode: ‘inline’, validate: function (v) { return validateData(this, v); }, }, },
The validateData was my function to look at the field to be validated and apply the proper rules. I think returning false cancels the edit.