Jump to content

caspio

Administrators
  • Content Count

    54
  • Joined

  • Last visited

  • Days Won

    53

caspio last won the day on February 7 2019

caspio had the most liked content!

1 Follower

About caspio

  • Rank
    Site Admin

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. New to the system and trying to learn all the different javascript handles and how to call them properly.  If there is any info out there please let me know.

     

    Thank you

    1. svitlanataran

      svitlanataran

      Hello,

      You may have a look at our Java Script solutions in the following section:

      https://forums.caspio.com/index.php?/forum/49-caspio-javascript-solutions/

  2. posted this matter on the forums and no respond.
    using HTML block would like to show values for some fields as images (like a check mark) and so on.... The script I have, responds nicely for the first 2 data fields and then doesn't function further! Also, would like the fields NOT to appear at all, if the value is blank.
    Script, I am using:

    <span  style="color: #A1A1A1;
        font-size: 12px;
        font-family: Arial, sans-serif;
        font-style: normal;
        font-weight: normal;">21+</span>

    <span id="icon[@field:age]"></span>
    <script>

    if ("[@field:age]" == "No1"){
    document.getElementById('icon[@field:age]').innerHTML="<img width='15px' src='http://someapp.com/nk/icons/yellowflag.png'/>";
    } else if ("[@field:age]" == "Yes1"){
    document.getElementById('icon[@field:age]').innerHTML="<img width='15px' src='http://assets.goplaypool.com/files/theme/appcas/check_01.png'/>";

    </script>

    <span  style="color: #A1A1A1;
        font-size: 12px;
        font-family: Arial, sans-serif;
        font-style: normal;
        font-weight: normal;">Tournaments</span>

    <span id="icon[@field:tourneys]"></span>
    <script>

    if ("[@field:tourneys]" == "No2"){
    document.getElementById('icon[@field:tourneys]').innerHTML="<img width='15px' src='http://someapp.com/nk/icons/yellowflag.png'/>";
    } else if ("[@field:tourneys]" == "Yes2"){
    document.getElementById('icon[@field:tourneys]').innerHTML="<img width='15px' src='http://assets.goplaypool.com/files/theme/appcas/check_01.png'/>";

    </script>

    <span  style="color: #A1A1A1;
        font-size: 12px;
        font-family: Arial, sans-serif;
        font-style: normal;
        font-weight: normal;">Leagues</span>

    <span id="icon[@field:leagues]"></span>
    <script>

    if ("[@field:leagues]" == "No3"){
    document.getElementById('icon[@field:leagues]').innerHTML="<img width='15px' src='http://someapp.com/nk/icons/yellowflag.png'/>";
    } else if ("[@field:leagues]" == "Yes3"){
    document.getElementById('icon[@field:leagues]').innerHTML="<img width='15px' src='http://assets.goplaypool.com/files/theme/appcas/check_01.png'/>";

    </script>

     

    Thank you in advance! :)

  3. JavaScript Tips: Caspio Form Elements JavaScript is a client-side scripting language that is commonly used in HTML pages. JavaScript can be used in Caspio Bridge DataPages to extend capabilities outside the standard features. This page provides a guideline for referencing Caspio form elements using JavaScript. It is an advanced topic and you should have prior knowledge of JavaScript programming. Referencing Caspio Form Elements A common way to access a form element using JavaScript is by referencing the element's ID attribute using: - document.getElementById("id")
  4. Do you have a Coghead application that you need to move to the Caspio platform? Here are a few steps to get you started: 1. Create a view in Coghead that has all the fields from one of your data collections2. Export this view in an CSV format (choose "Export (CSV only)" from the Coghead menu)3. Import the generated CSV file into Caspio Bridge as a new table, using the Import Wizard4. Click on "Design" for this newly created table and set the datatypes appropriately Repeat the same process for each data collection. Once all your data has been uploaded into Caspio Bridge, you can quickly buil
  5. Caspio Bridge Version 4.0 Released We are thrilled to announce the release of Caspio Bridge 4.0, which is available now in customer accounts. We’ve been working long and hard on this release, and hope you enjoy using it as much as we’ve enjoyed working on it. Here’s a quick summary of the new features: - Localizations - Now you can easily localize any message, button or link in your apps! Customize the English default text, use one of the language packages included in your account, or add your own language. - Styles – New cutting-edge styling wizard gives you tremendous contr
  6. Welcome to the Caspio Community Forum! We hope you find the Caspio Community Forum to be a useful resource to ask questions, find answers and discuss topics regarding our products and services. This forum will be updated daily by the Caspio Support team, so check back frequently for new posts. If you have general questions about this forum, please email us at support@caspio.com. Happy posting! -The Caspio Team.
×
×
  • Create New...