Jump to content

joscetre

Members
  • Content Count

    19
  • Joined

  • Last visited

About joscetre

  • Rank
    Member

Recent Profile Visitors

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

  1. I am using the standard Password Reset datapage. The Email page requires a fixed 'from' email address to be used for all reset requests. I would like to be able to change this 'from' address according to the type of user requesting it. It looks as if Caspio used to allow this programmatically in earlier releases, but it does not appear possible now. Can anyone tell me if there is there still a way to do this?
  2. Thanks Mathilda. It would appear to be a real weakness to recover a password via un-encrypted email!
  3. Is it possible for automated emails to be sent encrypted? Although the site pages are encrypted, I am getting a warning on receipt of a Password Recovery email (via Gmail) that "Caspiomail.com did not encrypt this email".
  4. I have a tabular report with a details page. The details page has a script that runs when the form is submitted via Caspio's Update button (using 'onsubmit'). The details page also includes Caspio's Back button. The problem I have is that the script runs when either the Update button OR the Back button is clicked. I would have thought the 'onsubmit' script should only fire when the Update button is pressed. Am I missing something? Here is the code: function CheckSubmit() { alert("running the OnSubmit script!"); } document.getElementById("caspiofor
  5. I need to run some script when a record is deleted from a Details Page by the user. So I have hidden the regular Delete button and substituted the code below: <button onclick="DeleteFunction()">Delete</button> <script> function DeleteFunction() { document.getElementById("Mod0DeleteRecord").click(); } </script> However, when the substituted button is clicked, the confirmation box opens only momentarily, then closes by itself without actually deleting the record! I believe this used to work properly, so something may have changed on the
  6. Is it possible to use cookies to remember the identity of a user to streamline the log-in process? Using Javascript I have been able to modify the Caspio appkey cookie to append the user information together with an expiration date. However, when the user logs off and starts a new session, it appears that a new Caspio cookie over-writes any existing cookie on the user's computer. Is there a way to retain the user's identity in a cookie? Subsequent edit: I have resolved the problem. Just need to be very precise about the cookie formats and handling of different browsers. You may delete
  7. I have a Report DataPage which includes a count of all rows having a particular attribute. Caspio correctly displays and stores this aggregate value as "Aggregate 1". I would now like to show a message when this value exceeds a set limit. I have tried to set a variable to the aggregate field, but with no sucess: var v_total = document.getElementById("Aggregate_1")Is there a way to capture an aggregate value without re-coding the full aggregation in JS? :?:
  8. Yes, that worked! And I thought I had tried everything. Thanks for your help
  9. I have an API call which sends data to Caspio. One of the fields sent is a date, but it is an optional field, so is sometimes null. The API call rejects a null value for a date field. If I send a zero or blank value the date shows in Caspio as 01/01/1900. Is there a way to avoid this?
  10. It works! Thank you so much Bahar . I would suggest you put this solution in your help documentation for other users.
  11. Thanks, Bahar, but actually it doesn't work! Please see my last post and advise accordingly. Thanks
  12. Jason & Bahar, thanks for the correction, not sure how I missed that. But unfortunately it's still not quite right. I'm trying to pass the parameter value "Trevor & Justine Joscelyne". The link does not add the parameter value, but looks like this: "http://b6.caspio.com/dp.asp?AppKey=ddae2000c2f0bb5fd8424eba8ca5&Mailing_Names=" However, I tried changing the position of the second single quote in the script like this: <script> document.write("[url="http://b6.caspio.com/dp.asp?AppKey=ddae2000c2f0bb5fd8424eba8ca5&Mailing_Names="]link[/url]") ; </script>Which res
  13. Thanks, Bahar. It looks like it should work, but the code you quote does not seem to pass the parameter. Here is my specific version: <script> document.write("[url="http://b6.caspio.com/dp.asp?AppKey=ddae2000c2f0bb5fd8424eba8ca5?Mailing_Names="]link[/url]") ; </script>I know that [@field:Mailing_Names] contains the correct data. When I right-click on the link to view its properties, it only shows as far as Mailing_Names=, and does not include the value. I'm wondering in the format it not quite correct. Any advice? Thanks Trevor.
×
×
  • Create New...