Jump to content

Search the Community

Showing results for tags 'html block'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Caspio Bridge
    • General Questions
    • Caspio JavaScript Solutions
    • Tables, Views and Relationships
    • Import/Export and DataHub
    • DataPages
    • Deployment
    • Security, Authentications, Roles, SAML
    • Styles and Localizations
    • Parameters
    • API and Integration
    • Calculations and aggregations
    • User JavaScript and CSS Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Skype


Location


Interests

Found 7 results

  1. I have a Submit form where I select a client account in a dropdown and it displays the account info in fields below via cascading auto complete. Instead of using a dropdown and fields, can I instead load/display the table data (account info) in an HTML block using parameters? or any other way?
  2. I need to set up a multi-column lookup list in the middle of a datapage. I have looked extensively and have not yet found an example. It would seem that others may have had this need. It looks like the existing listbox is not set up, yet, to handle multiple fields/columns. I am open to a HTML block solution, but, I don't know enough HTML myself to know how to build a multi-row, multi-column table dynamically that ties to a table. (the count of qualified records varies depending on the client business being profiled). The solution may be a data array built in javascript with nested for loops, that would feed the HTML table. I also have another multi-column lookup list where the cells/values of one of the columns needs to be editable. Currently records in the listbox control are not editable. I can build a static HTML table that includes edit boxes. The challenge here might be how to make this dynamic off a lookup dataset and insure that changed values in those edit boxes write back to the table they came from. I've even looked at an alternative solution of setting up a separate results table on a different datapage and then embed that in the middle of the datapage. But, currently Caspio does not seem to have the ability to embed a small tabular object from one datapage, into another. (The only way to do this seems to be to mash up two datapages on a webpage... but this does not give the user the in-line experience. Looking for expert guidance. Thanks in advance for any suggestions. Again, it seems like several other Caspio developers would have a use for such a solution. (maybe one is obvious and I am just not seeing it.) Thanks!
  3. Hi everyone, Does anyone know how to render a calculated field as HTML? I tried outputting HTML tags inside calculated fields, but they display as plain text. Thanks in advance. -dspolyglot
  4. I'm looking to display the the record count for a tbale in the header of a chart datapage and I'm not sure how to accomplish this. I have a table called tblEventRegistration and I would like show the query results of: 'SELECT Count(tblEventRegistration.ERID) AS TotalReg FROM tblEventRegistration;' . I was told that I could be done with a java script but I'm not sure how to access the data. Any help would be greatly appreciated.
  5. Hello everyone - I have a Calendar dataPage and I added a Calculated field and a link in it. I need a JS to hide the Link I created if the Calculated Field is not NULL or blank
  6. I am trying to build a div-based table in a Tabular Report. I have deleted all of the fields and included a Header/Footer and HTML block. I have turned off the HTML Editor which kept closing my <div>s automatically Problem: Titles (cell header) don't line up over top the grid properly. The first one covers the entire table and the next three are pushed right as though they are being added after the table. I'm confused. I thought I'd be able to build table-based divs with the HTML blocks of Caspio. *********************************************************************************** The header block: <style media="screen" type="text/css">.table { display:table; } .row { display:table-row; } .cell { display:table-cell; padding:2px; } .header { font-weight:bold; text-align:center; } </style> <strong>[@field:tblProduct_strProductName]</strong> <hr /> Sample Size: [@field:tblProduct_dblSampleSize#]&nbsp;[@field:tblProduct_strSampleSizeUnit] <hr /> <div class="table"> <div class="row"> <div class="cell header">Field 1</div> <div class="cell header">Field 2</div> <div class="cell header">Field 3</div> <div class="cell header">Field 4</div> </div> *********************************************************************************** The HTML Block <div class="row"> <div class="cell"><strong>[@field:tblProductAssay_strAssayName]</strong></div> <div class="cell">[@field:tblProductAssay_dblNormalLow#]-[@field:tblProductAssay_dblNormalHigh#]&nbsp;[@field:tblProductAssay_strNormalUnit]</div> <div class="cell">[@field:tblProductAssay_dblAMRLow#]-[@field:tblProductAssay_dblAMRHigh#]&nbsp;[@field:tblProductAssay_strAMRUnit]</div> <div class="cell">[@field:tblProductAssay_memIFU]</div> </div> *********************************************************************************** The footer block </div>
  7. Hi- I've searched boards and knowledge base and can't seem to find an answer for this one: In the Details page of my Report I have social media icons that connect to each person's FB, Twitter, etc pages. I did this by putting the icon image in an html block and then linking that icon to the appropriate field. Works like a charm! Only problem is that there isn't an easy checkbox, like a regular image would have, that allows you to hide the image when the field is blank, so....I guess I need to know: How do I hide an html block when the field inside it is blank? Or, do I need to set this up differently in order to be able to hide the social media icon when the field is blank? Thanks in advance for your suggestions!
×
×
  • Create New...