Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/07/2019 in all areas

  1. Hello, I'm just trying to figure out how Caspio authentication method works. So far, I've read the documentation, in particular: - https://howto.caspio.com/authentications-and-connections/authentication/ - https://howto.caspio.com/authentications-and-connections/authentication/create-a-standalone-login-screen-2/, Let's say that I have a multi page PHP website (on my own server), with a public sections and a protected one; users should authenticate using Caspio APIs. Each user can be "normal" or "admin" type and, according to this, he can access different pages and will be
    1 point
  2. Hi @ministry, You can achieve the desired functionality with standard functionality of Caspio. You need to create a separate authentication for each user group: "Normal", "Admin" and use this authentication on Datapages which are relevant to each group. You may check this video for more insights: https://www.youtube.com/watch?v=YEzM1c624Jk Hope this helps. Regards, vitalikssssss
    1 point
  3. Hello @directrix, I got this same error and contacted their support team. Then advised me that this is a Google issue as they have made changes recently. But if you have an existing task that is connected to Google Drive, it'll work perfectly. Fret not, Caspio DevOps team is now looking for a way to make this work. *winks*
    1 point
  4. 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")
    1 point
  5. Thansk for your help. I managed to solve with the following solution.... 1.Inserted a virtual field into the datapage form 2. set form element to hidden 3. select 'authenticated field' as the default value, and select the correct 'username' field from the fields list. 4. Changed the text in my code to the follwoing... </div> <script> function gup( name ) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS = "[\\?&]"+name+"=([^]*)"; var regex = new RegExp( regexS ); var results = regex.exec( window.location.href ); if( results == null )
    1 point
  6. Hello, skywalker I'm trying to answer your question. First, try to remove "e" from your code: authefield:Username -> authfield:Username Second: if this not helps, may be VIrtual field is a solution for you. You add a virtual field (just like HTML block) into your WebForm and set up that virtual field receives parameter from "Username" field. You create "display only" form element and it's value the same as you want (Username). Give it the label naming "Username" and your user sees the same Display Only field with expected value. As far as I know, Virtual field value can be accessed via
    1 point
×
×
  • Create New...