Jump to content

svitlanataran

Caspio Guru
  • Posts

    104
  • Joined

  • Last visited

  • Days Won

    7

Reputation Activity

  1. Like
    svitlanataran got a reaction from JEllington in Caspio Wordpress Comments   
    Hi Jim,
     
    I've never faced problems with passing parameters in wordpress, but wordpress styles sometimes cause problems. So probably you would need to change or delete attributes to customize Styles.
  2. Like
    svitlanataran got a reaction from acslakeland in Logout Taking Me To Incorrect Destination   
    Hi,
     
    Probably you've set "Login redirection on success:" page B
     
    Edit your authentication and expand advanced settings.
     
    Select  "Same page" for login redirection on success
  3. Like
    svitlanataran reacted to murrayslinn in Deployment Errors   
    Matilda,
     
    Thank you, I had tried that in the past without luck, seems to work well now so im not sure what I was doing wrong
     
    Many thanks
  4. Like
    svitlanataran got a reaction from LWSChad in Data Usage Thoughts, Tools, Tactics   
    If you want to have all the styles in one place as in your external CSS file you need to define the styles within your CSS file using the embedded HTML tags. Example:

    To define font-family for Caspio label you should look for the element tag on the web page (In Firefox you can install Firebug add-on to easily see the page elements without going into the source), so after you find the element tag which in the label case is "label" then you can write this code in your CSS:

    #caspioform label{
    font-family:Arial;
    }

    So basically .cbFormLabel class is not recognizable in your CSS file. This class is defined in Caspio Style object so when you embed a DataPage using this Style object, Caspio server compiles and converts these styles into inline styles and deliver it to the web page browser. That is why if you remove these classes within the Caspio Style, you need to define your own styles in the CSS for each Caspio element as explained in the example above.
     
    And I don't think, this will reduce data transfer.
  5. Like
    svitlanataran reacted to LWSChad in Conditional Formatting Trick   
    Check out this trick I stumbled upon.
     
    Put Caspio Variables into your Classes so you can use CSS to dynamically style your pages.
    (js not required)
     
     
    Div to dynamically format 
    <div class="action[@field:action]"></div> css
    .actionCall { background-image: URL("../img/call.png"); } .actionEmail { background-image: URL("../img/email.png"); } .actionText { background-image: URL("../img/text.png"); } Dynamic Elements - load all options, and hide all but needed
    <a class="btnFile fileName[@field:FileName]" href="../some/dir/[@field:FileName]">Download</a> <a class="btnLink fileLink[@field:FileLink]" href="[@field:FileLink]">View File</a> css
    /*-- when [@field:***] is null, hide the div --*/ .fileName, .fileLink { display: none; } Hope this helps
     
    Think Easy
    CHAD
    -I know the Title of this Forum is "Ask....", but IDK where else to share stuff like this.
  6. Like
    svitlanataran got a reaction from dbromfield in Unable To Pass Paramater- Javascript Routine To Caspio Field   
    Hi,
     
    I would recommend you inserting code in the footer instead of HTML block, also do not assign a value 'pperiod' for the field "Period".
     
    On the event "submit" you should call a function to calculate the value write it in the field "Period".
     
    Take a look at this example. 
     
    I hope this helps.
  7. Like
    svitlanataran got a reaction from lmsimple in Submit With Errors Redirecting Inappropriately   
    Sounds unusual, can you send me an URL? I'll take a look on it.
     
    Am I right, that entered data appears in the table, when you leave some of required fields blank?  Or you just get redirected to the home page without submitting data to the table?
     
    And you don't use Javascript, right? 
  8. Like
    svitlanataran got a reaction from sophietheand in Responsive Form - Submit Button Does Not Scale   
    Hi gregcoiro,
     
    Button has "input" type. Responsive code sets width-100% for input elements. You should edit responsive code. 
    Find the following code:
    #datapage-form input, #datapage-form select, #datapage-form textarea { width: 100% !important; } And delete the first line: #datapage-form input,
  9. Like
    svitlanataran reacted to LWSChad in Data Usage Thoughts, Tools, Tactics   
    Hi All,
    I had a great conversation with Caspio support a few weeks ago that helped my significantly reduce the amount of data that my app uses.
     
    Here are the cliff notes.
    To see how much data your pages use, paste the URL from the deploy menu into a new web browser, and use a development tool or web inspector to investigate. (in Chrome press F12, and click the Network tab) Records per page is a big factor in data usage... nearly a linear relationship. Ajax is a big load up front, but will help if you encounter many "paging" actions... long reports. Happy Building
  10. Like
    svitlanataran reacted to LWSChad in Label Position Set To Left   
    This is probably a workaround, but if it works it's very easy...
     
    CSS in the header of your DataPage maybe?
     
    <style>
    label {
        margin: top right bottom left;
        padding: top right bottom left;
        width: 80px;
        etc.

    </style>
  11. Like
    svitlanataran reacted to logistics in Customise Layout Style   
    Thank you sooooo much Matilda!
    That solved it!

    Massive headache now resolved thanks to your help!
    Julien
  12. Like
    svitlanataran got a reaction from logistics in Customise Layout Style   
    Hi Julien,
    I've found it. You should change attributes in the style section in your Caspio account. 
     
    Edit style->source tab->all   
    Then find class cbTable. Delete the following line: box-shadow: 0px 0px 0px 6px #f9f9f9;
                         paste the following line instead: box-shadow: 0px 0px 0px 0px #f9f9f9;
     
    Then find and delete line:            border-width: 6px;
    paste the following line instead:            border-width: 0px;
     
    I hope this helps.

  13. Like
    svitlanataran got a reaction from TarikZiyad in Login System   
    Hi,
    sure it's possible.
     
    Take a look at the article:
    http://howto.caspio.com/tech-tips-and-articles/parameters/how-to-create-a-one-to-many-relational-datapage/
     
    Also a video is available: http://howto.caspio.com/getting-started/create-a-one-to-many-relationship/
     
    Hope it helps.
  14. Like
    svitlanataran got a reaction from wvantongeren in Cells From A Table   
    Hi Willem from the Netherlands, how are you? Welcome to the forum
     
    Could you elaborate on your question?
    The report in the attachment looks like a submission form. Do you want to divide your form into smaller ones?
     
    Matilda
  15. Like
    svitlanataran got a reaction from derekcaldwell in Passing Values Of A Calculated Field To An Actual Field   
    Hi Elena,
     
    I've edited your script. Try it.
     
    <SCRIPT LANGUAGE="JavaScript"> function concatenate() { var x = '[@calcfield:44]'; document.getElementById("EditRecordNew_Job_Grade").value = x; } document.getElementById("caspioform").onload=concatenate; </SCRIPT>
  16. Like
    svitlanataran got a reaction from nmalawskey in Centre for on html page   
    Hi bwe,
     
    Just wrap deploy code of your Datapage between div tag and set align attribute.
    <!DOCTYPE html> <html> <body> <div align="center"> deploy Caspio code here </div> </body> </html> Matilda
  17. Like
    svitlanataran got a reaction from seancsn in Centre for on html page   
    Hi bwe,
     
    Just wrap deploy code of your Datapage between div tag and set align attribute.
    <!DOCTYPE html> <html> <body> <div align="center"> deploy Caspio code here </div> </body> </html> Matilda
×
×
  • Create New...