Jump to content

Search the Community

Showing results for tags 'localization'.



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 5 results

  1. My app has users in the USA who need the date format output displayed as mm/dd/yyyy (short & long date). But users in Australia, UK, etc need date format output to be dd/mm/yyyy (short & long date). Problem is there's only 1 option in a Localization for date format: either has to be mm/dd/yyyy OR dd/mm/yyyy and it cannot differentiate the user's location and switch them based on that. I'm thinking that the Localization only provides the format on output and that it might be possible to overwrite or change that format using JS on the datapage itself, to switch the format if the Authorization field for the country is not the USA. The basic logic would be something like this (I know it's not fully functional script, am just trying to show the thought process): <script> var v_country = parseFloat(document.getElementById("EditRecordAuthfieldMyCountryNameā€¯).value); if (v_country == "United States"){ [@field:Date_Start].format("mmm dd yyyy"); } else if (v_country == "Australia"){ [@field:Date_Start].format("dd mmm yyyy"); } </script> One thing- I'm not quite sure how to reference an Authorization field in the GetElementbyID part. Does anyone know if it's possible to do this and if so exactly how the code would look. Many thanks for any help-
  2. Hello, In localization, I could not find anything to change the text for file field. For an example, how to change the text for "Choose File" and "No File Chosen"?
  3. Hello, I'm tying to improve my app's error messages using Localizations. I see on some error messages there are variables or parameters that provide the user with some very valuable information. Value cannot be shorter than %s characters. Value cannot be larger than %n characters. Are you sure you want to delete %n records. %p authorization failed. Cannot redirect to %p etc. Does anybody know how to use these, or where I can find a list of the variables we can use and how to? Thanks and ThinkEZ
  4. Hey Caspio Forum ! I am a freshman here. What I want to do is to be able to change 0,00 in my Report DP. Say if any record has this value, automatically change it to blank field, or to '--'. Any help will be appreciable! Thanks guys
  5. Hi everyone. I need to change the format of the pop-up selector in a datapage or even for the whole app. I have changed the localization of the date/time to the format I want 9/27/2014 when I click a date in a calendar pop-up. However, even though I have set the localization for this format, it adds a 0 in front of all the months that are one digit. No matter what I can not get the format to change on a calendar pop-up. Where do I change the calendar pop-up format to 9/27/2014 instead of 09/27/2014 (this is what it does) THANKS
×
×
  • Create New...