Jump to content

Tubby

Caspio Ninja
  • Posts

    54
  • Joined

  • Last visited

  • Days Won

    6

Community Answers

  1. Tubby's post in Display Specific Columns was marked as the answer   
    I don't know if this will fit your workflow but I have this CSS code that I am using for a tabular report. I have tested this in a pivot table as well so it should work on your pivot properly:

    Put this code in the Header:
    <style>
     #target table:nth-of-type(1) td:not(:nth-of-type([@FieldtoDisplay])) {display: none;}
     #target table:nth-of-type(1) th:not(:nth-of-type([@FieldtoDisplay])) {display: none;}

    /* The part below is for excluding a column from being hidden by default*/
     #target table:nth-of-type(1) td:nth-of-type(1) {display: table-cell;}
     #target table:nth-of-type(1) th:nth-of-type(1) {display: table-cell;}
      </style>
     <div id="target">

    And this in the Footer:
    </div>
    Basically, what this code does is  hide all the columns by default except the column specified using the NOT selector of CSS. You can specify your column by passing a parameter from your separate search form [@FieldtoDisplay]. This parameter should contain a integer value that corresponds to the position of the column that needs to be displayed.

    The second part of the code is optional, it can be added if you wish to diplay a certain column regardless of the selection. Let's say you have a column for ID or Name and you want them to be visible at all times, you can specify their position and change "1" to exclude them from being hidden.
  2. Tubby's post in What are the criteria for Caspio Password strengths? was marked as the answer   
    Hi again Hexy!

    These are the criteria for the different Password Strength:

    Fair: Password must be at least 6 characters, including at least 1 number.

    Good: Password must be at least 8 characters, including at least 1 number and both lower and upper case letters.

    Strong: Password must be at least 12 characters, including at least 1 number, both lower and upper case letters, and at least 1 special character (e.g. _, #, ?, !)

    You can actually see this criteria if you test the options out and just put 1-2 letters so an error message will display like shown here:


    I hope this helps!

    -Tubbs
  3. Tubby's post in How to add line breaks to calculated values? was marked as the answer   
    I think you can actually use <br> for Calculated Values. However, you will need to enclose it with a single quote. 
    Refer to this syntax:
    '[@field:Line1]'+'<br>'+'[@field:Line2]'
    You can also use CHAR(13) which is a SQL Function called "Carriage Return" since Calculated Values accepts SQL statements.
    Refer to this syntax for CHAR(13):
    '[@field:Line1]' + CHAR(13) + '[@field:Line2]'
    This will output the values like shown in the screenshot below:


    I hope you find this useful.
     
×
×
  • Create New...