Hello guys,
I have a form which had a boolean field and an assist button next to it. While converting the Form into a Page I tried to write the code on the AssistEdit Trigger of the boolean field but it was a hopeless case.
Any suggestion will be well appreciated.
0
Answers
- Create a text variable (e.g., MyTempText) and add a field for it on the page
- Add code to the OnLookup trigger of the field:
- Add whatever code you need to the AssistEdit trigger of the text field
- Add code to the OnValidate trigger:
That will get you a field that has both a drop-down button and assist edit, and that toggles between true and false when you hit the drop down button. Pretty close to normal NAV behavior, so won't throw users off.(Oh - and don't forget to set MyTempText when the record changes).