post by CodeGC on Oct 22, 2023
post by johnny on Oct 22, 2023
Hello @CodeGC ,
Yes, you will need to transform the $fieldValue from null to an empty string so more or less something like this:
$fieldValue = $fieldValue ? $fieldValue : "";
If the field is nullable it should add the empty string field as null at the insert later. If not then maybe also use the callbackBeforeInsert function.
Let me know if that worked for you.
Regards
Johnny
New & Unread Topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Use callbackColumn() but keep inline edit functionality |
|
3 | 649 | Apr 12 |
| Setting quick search values via JavaScript not working properly for booleans |
|
0 | 563 | Nov 2025 |
| callbackColumn() has not effect in v3.2.6 Enterprise |
|
2 | 696 | Dec 2025 |
| displayAs() doesn’t support new line in headings |
|
4 | 873 | Jan 5 |
| PRINT date format not consistent |
|
6 | 357 | Sep 7 |
