Marking a record as a favourite

Viewing 5 reply threads
  • Author
    Posts
  • September 1, 2020 at 1:28 PM #41812

    Martin Kendall
    Participant

    Hi,

    Is it possible to set a record as a favourite using JavaScript?

    Loving the scripting features of TapForms, and this would be the icing on the cake.

    Thanks

    Martin

    September 2, 2020 at 12:23 AM #41817

    Brendan
    Keymaster

    Hi Martin,

    Not at the moment. I haven’t exposed that property to JavaScript yet.

    However, the next update will have it.

    But right now the property is called isFavourite as I’m Canadian and use Canadian spelling for things when I program. But I may write a cover method for it to make it more American oriented.

    September 2, 2020 at 12:35 AM #41818

    Martin Kendall
    Participant

    That sounds great, though I’m more than happy with isFavourite – British English here! :-;

    Looking forward to the update, thanks,

    Martin

    September 10, 2020 at 2:44 AM #41903

    Marcus
    Participant

    May I make suggestions ?

    – swipe between favorites would be very helpful
    – Loop over all favorites, for instance “var records = favorites.getRecords()”

    September 10, 2020 at 11:49 AM #41908

    Brendan
    Keymaster

    Good suggestion. I’d have to expose a document.getFavourites() function.

    September 10, 2020 at 11:17 PM #41913

    Marcus
    Participant

    Perfect, thanks

    And (please, please, please) add the possibility
    to swipe between the favorites.
    It‘s annoying to go back to the list to
    open the next recordset ?

    btw.: iOS on iPhone.

Viewing 5 reply threads

You must be logged in to reply to this topic.