Forum
What Is The UNOB Technique?
Forum
Demo
Content
[Content] is a narrative description of a technique
Step (1)
Don't even attempt to write a complicated URL formula - just concatenate an anchor element to your standard image onload field (ie [-]) like this:

[iol] & "module.js" & [/iol]
&
"<a class='QBU_MyClass Vibrant Success'>Do Something Impressive</a>"

This formula will bootstrap the loading of module.js upon page load and essentially fill the real estate taken up by the [-] field with a nicely styled button. Note there is no href or event handler attributes on this anchor element. Attempting to add a href or event handler attribute through the formula language will only bring grief, sorrow and misery.

Step (2)
Within module.js simple place code that will detect and process click events on anchors with class QBU_MyClass like so:

$(".QBU_MyClass").on("click", function(event) {
  alert("Do Something Impressive");
});

You will have to place this code within appropriate page decode logic as specified in the generic module.js of the image onload technique template. If you need access to the [Record ID#] or other fields to implement your Something Impressive don't waste your time trying to pass these values through the QuickBase formula URL field. Doing so will only complicate your formula and encourage errors and typos. Instead, simply make an AJAX call within module.js to grab the field values you need to do Something Impressive.

Step (3)
There is no third step - you are done. Enjoy:
Copy [Content] to Clipboard
Usage Notes
All rights reserved. The code in this page is copyright by Dan Diebolt and may not be used without including my phone number (773-312-8131) and email address (dandiebolt@yahoo.com) in the footer of where you may want to use it. This snippet of code is not a complete solution and only represents the essential code to address the question. You may have to modify the code to suit your specific needs. There is a good chance that this code uses the image onlaod techique which you can read about here: Image Onload Technique The old image onload technique is document here: Old Image Onload Technique
Other & Flags
Yes  
Diebolt, Dan
Created on April 22, 2015 at  8:34 AM (CST). Last updated by Diebolt, Dan on Nov.  5, 2018 at 10:14 AM (CST). Owned by Diebolt, Dan.
Dan Diebolt
Dan Diebolt
Show fields from Show fields from Show fields from a related table
Report Name *
Description
Reports and Charts Panel
Each table has a panel listing its reports and charts, organized in groups.
Please wait while your new report is saved...
Field label
Column heading override
Justification
What does auto mean?
Fields in:

Fields to Extract:

Name for the new table:
Items in the new table are called:

When you bring additional fields into a conversion, Quick Base often finds inconsistencies. For example, say you're converting your Companies column into its own table. One company, Acme Corporation, has offices in New York, Dallas and Portland. So, when you add the City column to the conversion, Quick Base finds three different locations for Acme. A single value in the column you're converting can only match one value in any additional field. Quick Base needs you to clean up the extra cities before it can create your new table. To do so, you have one of two choices:

  • If you want to create three separate Acme records (Acme-New York, Acme-Dallas and Acme-Portland) click the Conform link at the top of the column.
  • If the dissimilar entries are mistakes (say Acme only has one office in New York and the other locations are data-entry errors) go back into your table and correct the inconsistencies—in this case, changing all locations to New York. Then try the conversion again.

Read more about converting a column into a table.

We're glad you're interested in doing more with Quick Base!

Now we need to make you official before you share apps or manage your account.

Verifying your email lets you share Quick Base with others in your company.

Your work email
Your company