Forum Discussion

AndrewFry's avatar
AndrewFry
Qrew Assistant Captain
6 years ago

Mobile: Custom Javascript button not working

I am assuming this is an issue with the mobile app, but am not 100% sure.

I have a custom button in my app. It is a Rich Text formula field and works great for what I need it to do, while on the desktop side of things.

The button is a simple: Save & Continue, when the record hasn't been created yet. It generates the record and then re-opens to continue editing.

The mobile side is a different story. It is present, but isn't colored, like the desktop is, and it simply doesn't work. It just doesn't do a thing.

Is this a limitation of the Mobile app?

------------------------------
Andrew
andrew.fry25@gmail.com
------------------------------
  • Without seeing the code, i'm not sure. Post the rich text formula and we'll try to troubleshoot it.

    ------------------------------
    Everett Patterson
    ------------------------------
    • AndrewFry's avatar
      AndrewFry
      Qrew Assistant Captain
      Hey there Everett.

      The code is:

      "<div class='Vibrant Success' onclick=$('#footerSaveAndKeepWorkingMenuOption').click();>Save and Keep Working</div>"

      It works just fine in the desktop but does nothing in the mobile app.

      ------------------------------
      Andrew
      andrew.fry25@gmail.com
      ------------------------------
      • hhersch's avatar
        hhersch
        Quickbase Staff
        Hey Andrew -

        Two different things going on here.

        1. Putting JavaScript in a rich text field is not officially supported anywhere in the platform. While it may work today on the desktop, it may not in the future.
        2. Custom code pages are not supported yet in the mobile app in general. If you could share the use case you are trying to achieve, perhaps there are some fully native ways to achieve them.

        Also, our mobile PM, @Alice Hinshaw might be able to help.
        ​​

        ------------------------------
        Harrison Hersch
        ------------------------------