Discussions

 View Only
  • 1.  Can I have an image display as part of a message using dynamic form rules?

    Posted 08-16-2017 16:57
    I would like to be able to display an image and html text as part of a message that displays when certain conditions happen, like in a dynamic form rule.  Is this possible?


  • 2.  RE: Can I have an image display as part of a message using dynamic form rules?

    Posted 08-16-2017 17:06
    No problem.  You can make a formula html field and it can have a combination of text, html characters and an image.

    Here an example of some HTML which is fancier than I normally do, but the client needed a red box around the words.


     "<b><font size=2><font color=red>" & 
    "<div style=\"border:1px dotted black;padding:1em;\">"
    &

    "<div style=\"text-align:center\">" & "*** ATTENTION ***"
    &"<br><br>" &
    "For the quoted pricing to be honoured, the <br><br><u>Job Quote #</u>, "
    & "<u>Project Name</u> and <u>Price</u> <br><br>must be given at time of order.</div>"


    You can also include an image like this
    "<img src=https://images.quickbase.com/si/24/280-user_0.png>"

    There are 502 standard images here https://login.quickbase.com/db/9kaw8phg?a=ShowPage&pageid=134 or you can make a table of your own images and link to them as well.

    If you intended to include images in external emails to emails sent to non users, be sure to store the images n a separate app open to everyone on the internet.


  • 3.  RE: Can I have an image display as part of a message using dynamic form rules?

    Posted 08-16-2017 18:31
    Is there a way I come make the field or data there in appear only when certain conditions are met and be in the middle of the screen, similar to when a message is displayed as part of a dynamic form rule?


  • 4.  RE: Can I have an image display as part of a message using dynamic form rules?

    Posted 08-16-2017 20:38
    That is not possible to do natively.  It would require non native techniques as Dan describes below.


  • 5.  RE: Can I have an image display as part of a message using dynamic form rules?

    Posted 08-16-2017 19:08
    Use IOL with a Mutation Observer: Here is the code manually applied from the console:

    Pastie Database
    https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=590



    DON'T ACCEPT INFERIOR NATIVE SOLUTIONS THAT DON'T USE JAVASCRIPT AND DON'T DO EXACTLY WHAT YOU WANT.


  • 6.  RE: Can I have an image display as part of a message using dynamic form rules?

    Posted 08-16-2017 20:46
    This is exactly what I need.  I'm not familiar with the Mutation Observer, is there somewhere you can point me to that would guide me on applying what you have?


  • 7.  RE: Can I have an image display as part of a message using dynamic form rules?

    Posted 08-16-2017 21:06
    If you are new to Quick Base and generally non technical, then you will either need to contract for it with a Quick Base Solution provider or decide that it's a "nice to have" and not a "need to have".

    imho, if you have 100 things that you would like to do with your app and that is one of then, nevermind that one and just get on with the other 99 things that are native and quick to implement.  Come back to that thought once you do the 99 as that one will take time and money to implement.