Commit befaee3
committed
✨ Hide admin custom fields pre-filled from returning visitors when 'uempty' show condition is set
- In lhchatvalidator.php, skip processing admin custom fields during chat validation if the 'showcondition' is 'uempty' and the visitor already has a non-default nickname set
- In onlinesettings.php, update the identifier_prefill for fields with 'uempty' showcondition to use 'Username' instead of the field's own identifier, ensuring the frontend correctly evaluates whether to show the field1 parent e8ecf92 commit befaee3
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
739 | | - | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
740 | 744 | | |
741 | 745 | | |
742 | 746 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | | - | |
| 642 | + | |
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| |||
0 commit comments