Forum Discussion
PaulPeterson1
5 years agoQrew Assistant Captain
I mocked up a quick field to demonstrate the concept. This is using the value in the "Data Test" field in a button. The concept is the same for all other HTML tags supported by Quick Base.
"<a style=\" text-decoration: none; background: #008000; border-radius: 5px; color: #fff; display: inline-block; width: 75px; text-align: center; padding: 8px 5px; font: normal 700 14px/1 \"Calibri\", sans-serif; text-shadow: none; \">" & [Data Test] & "</a>"
------------------------------
Paul Peterson
------------------------------
"<a style=\" text-decoration: none; background: #008000; border-radius: 5px; color: #fff; display: inline-block; width: 75px; text-align: center; padding: 8px 5px; font: normal 700 14px/1 \"Calibri\", sans-serif; text-shadow: none; \">" & [Data Test] & "</a>"
------------------------------
Paul Peterson
------------------------------
- JohnSampath15 years agoQrew TraineeThank you sir for the response. The syntax makes sense but I have some follow up questions
I can create a rich text field and embed this code in it. However I would like to be able to use this in a code page. How do I pass a a specific record's Data Test value to the code page. (i.e. user selects a records, clicks, code page comes up.) Thank you.
------------------------------
John Sampath
------------------------------- PaulPeterson15 years agoQrew Assistant CaptainI'm sorry if I misunderstood your question. I haven't done much with code pages, but I'm certain they are in my immediate future.
------------------------------
Paul Peterson
------------------------------- MarkShnier__You5 years ago
Qrew Legend
John
Have you considered using a formula rich text field?
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------