Forum
pop up box
Forum
Demo
Content
[Contnet] is a fragment of HTML code
<!--
MyPopDivs Not YourPopDivs
https://www.quickbase.com/db/bfuw7wt8a
-->

<!--
PopDiv Template: QBU_MyPopDiv1.html
https://www.quickbase.com/db/bfuw7wt8a?a=dbpage&pagename=QBU_MyPopDiv1.html
-->
<script type="text/javascript">
 function QBU_MyPopDiv1DoIt() {
  alert("in QBU_MyPopDiv1 with QBU_field1=" + $("#QBU_field1").val());
  return false;
 }
</script>

<div id="QBU_MyPopDiv1" class="PopBox" style="display:none;visibility:hidden;width:400px;">
 <h4>My QBU_MyPopDiv1 Form is Magic</h4>
 <table cellspacing="0" cellpadding="4" width="100%" style="margin-left:15px">
  <tr>
   <td>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean eu lorem ac justo ultrices pretium gravida nec ligula. Nunc id lorem lacus. Etiam luctus aliquet rhoncus. Donec ultricies vestibulum ultricies. Integer placerat, sapien nec dignissim ultrices, urna orci sagittis leo, ut pharetra lorem risus non mauris. Ut eget est lectus, sodales porttitor turpis. Etiam sapien diam, adipiscing vel laoreet at, ultricies at nisi. Vivamus a pulvinar purus. Quisque non pellentesque mauris. Proin dictum ligula at arcu tincidunt non ullamcorper ipsum sodales. Donec congue ligula mollis dui sagittis auctor pretium leo egestas. 
   </td>
  </tr>
  <tr>
   <td>
    <b>QBU_field1</b>&nbsp;&nbsp;<input type="text" name="QBU_field1" id="QBU_field1">
   </td>
  </tr>
  <tr>
   <td align=right style="padding-top:20px;">
    <input type="button" value="Do It!" onclick="QBU_MyPopDiv1DoIt()" >
    <input type="button" value="Don't Do It!" onclick="HidePopupDiv('QBU_MyPopDiv1');">
   </td>
  </tr>
 </table>
</div>


<!--
PopDiv Template: QBU_MyPopDiv2.html
https://www.quickbase.com/db/bfuw7wt8a?a=dbpage&pagename=QBU_MyPopDiv2.html
-->
<script type="text/javascript">
 function QBU_MyPopDiv2DoIt() {
  alert("in QBU_MyPopDiv2 with QBU_field2=" + $("#QBU_field2").val());
  return false;
 }
</script>

<div id="QBU_MyPopDiv2" class="PopBox" style="display:none;visibility:hidden;width:400px;">
 <h4>My QBU_MyPopDiv2 Form is Awesome</h4>
 <table cellspacing="0" cellpadding="4" width="100%" style="margin-left:15px">
  <tr>
   <td>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean eu lorem ac justo ultrices pretium gravida nec ligula. Nunc id lorem lacus. Etiam luctus aliquet rhoncus. Donec ultricies vestibulum ultricies. Integer placerat, sapien nec dignissim ultrices, urna orci sagittis leo, ut pharetra lorem risus non mauris. Ut eget est lectus, sodales porttitor turpis. Etiam sapien diam, adipiscing vel laoreet at, ultricies at nisi. Vivamus a pulvinar purus. Quisque non pellentesque mauris. Proin dictum ligula at arcu tincidunt non ullamcorper ipsum sodales. Donec congue ligula mollis dui sagittis auctor pretium leo egestas. <br/>
   </td>
  </tr>

  <tr>
   <td>
    <font color="red">The [text] field for this record is: {text}<br/>The [number] field for this record is: {number}<br/></font>
   </td>
  </tr>

  <tr>
   <td>
    <b>QBU_field2</b>&nbsp;&nbsp;<input type="text" name="QBU_field2" id="QBU_field2"/ >
   </td>
  </tr>
  <tr>
   <td align=right style="padding-top:20px;">
    <input type="button" value="Do It!" onclick="QBU_MyPopDiv2DoIt()" >
    <input type="button" value="Don't Do It!" onclick="HidePopupDiv('QBU_MyPopDiv2');">
   </td>
  </tr>
 </table>
</div>


<!--
Test1.js
https://www.quickbase.com/db/bfuw7wt8a?a=dbpage&pagename=Test1.js

$.get("https://www.quickbase.com/db/bfuw7wt8a?a=dbpage&pagename=QBU_MyPopDiv1.html",function(html){
 $("body").append(html);
});
-->

<!--
Test2.js
https://www.quickbase.com/db/bfuw7wt8a?a=dbpage&pagename=Test2.js
if (!String.prototype.supplant) {
 String.prototype.supplant = function (o) {
  return this.replace(/{([^{}]*)}/g,
   function (a, b) {
    var r = o[b];
    return typeof r === 'string' || typeof r === 'number' ? r : a;
   }
  );
 };
}

var QBU_url="https://www.quickbase.com/db/bfuw7wt8r?act=API_DoQuery&query={3.EX." + QBU_rid + "}" + "&clist=6.7";
$.get(QBU_url,function(xml){
 var QBU_text=$("qdbapi record text",xml).text();
 var QBU_number=$("qdbapi record number",xml).text();
 var QBU_params={text: QBU_text, number: QBU_number}
 var QBU_message = "The QBU_text={text} and QBU_number={number}";

 $.get("https://www.quickbase.com/db/bfuw7wt8a?a=dbpage&pagename=QBU_MyPopDiv2.html",function(html){
  $("#QBU_MyPopDiv2").remove();
  $("body").append(html.supplant(QBU_params));
  ShowPopupDiv("QBU_MyPopDiv2");
 });
});
-->

<!--
Dashboard HTML to Display Test1 Button: 
-->
<script type="text/javascript" src="bfuw7wt8a?a=dbpage&pagename=Test1.js"></script>
<input type="button" value="Test1" onclick="ShowPopupDiv('QBU_MyPopDiv1')" >

<!--
[Test2 (formula url; Display as a button)] Field definition:
"javascript:var QBU_rid=" & [Record ID#] & ";" &
"$.getScript('https://www.quickbase.com/db/bfuw7wt8a?a=dbpage&pagename=Test2.js');void(0);
-->
Copy [Content] to Clipboard
PastieURL
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: https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=294 The old image onload technique is document here: http://pastebin.com/hbeXXmTT
Other & Flags
Yes  
Diebolt, Dan
Created on June 19, 2011 at 10: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, Quickbase 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, Quickbase finds three different locations for Acme. A single value in the column you're converting can only match one value in any additional field. Quickbase 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 Quickbase!

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

Verifying your email lets you share Quickbase with others in your company.

Your work email
Your company