disable buttons

lamislamis Member Posts: 46
Hello, im a NAV beginner, i want to know how i can disable the previous and next action buttons in the item card so that the user cannot scroll through the cards..

Answers

  • archer89archer89 Member Posts: 337
    you could add some code to triggers onnextrecord, onprevrecord: e.g. error(‘not allowed')
    best regards
    Franz Kalchmair, MVP
    Alias: Jonathan Archer

    please like / agree / verify my answer, if it was helpful for you. thx.
    Blog: http://moxie4nav.wordpress.com/
  • lamislamis Member Posts: 46
    the button is disabled, but i want it to work again after i fill the mandatory fields
  • krikikriki Member, Moderator Posts: 9,112
    Why don't you give your topic a useful title?
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • TiwazTiwaz Member Posts: 98
    edited 2016-11-10
    .
  • TiwazTiwaz Member Posts: 98
    Cannot be done
  • RockWithNAVRockWithNAV Member Posts: 1,139
    Couldn't be a direct approach so probably you have to go with some work arounds.
  • parmparm Member Posts: 49
    Hi,
    I think you can achieve this with the following approach.
    On triggers onprev, onnext, onqueryclose call a function that check if all the fields are valid and exit(false) or error(xxxxx) when the fields are not ok.
    Regards and good luck.

    parm
Sign In or Register to comment.