pauwar Posted September 9, 2009 Report Share Posted September 9, 2009 [@Utstyr] Quote Link to comment Share on other sites More sharing options...
MeghaJ Posted September 9, 2009 Report Share Posted September 9, 2009 Hi, This JavaScript is on which page. If it is on the details page, then you need to change the line var s2=document.getElementById("InsertRecordUtstyr") to var s2=document.getElementById("EditRecordUtstyr") If this JavaScript is in the HTML DataPage, that you open after the Search and Report DataPage then you do not need to use getElementById. You can replace this line var s2=document.getElementById("InsertRecordUtstyr") by var s2=[@Utstyr]; Hope this helps. Megha Quote Link to comment Share on other sites More sharing options...
pauwar Posted September 10, 2009 Author Report Share Posted September 10, 2009 [@Utstyr] var s2=[@Utstyr]; document.write("Hello World"); Quote Link to comment Share on other sites More sharing options...
MeghaJ Posted September 10, 2009 Report Share Posted September 10, 2009 Hi, Is it possible for you to provide the URL? Thanks, Megha Quote Link to comment Share on other sites More sharing options...
pauwar Posted September 10, 2009 Author Report Share Posted September 10, 2009 http://b3.caspio.com/dp.asp?AppKey=2eba ... c9j0e2c0j2 This is for the report - use 142222 to search up a valid record (in the first field). This is the version with the assignment of the [@Utstyr] field to S2. Let me know if you need to run the other one. Are you staff? If so you may access the banetele account which is used here. Quote Link to comment Share on other sites More sharing options...
MeghaJ Posted September 12, 2009 Report Share Posted September 12, 2009 Hi, 1. You donot need to have and tags in the HTML block. 2. A few errors in JavaScript See the corrected one here: var s1="https://b3.caspio.com/dpImages.asp?appk ... 9b8&file="; var s2=document.getElementById("EditRecordUtstyr").value; var s3="'/>"; var s4= s1.concat(s2,s3); document.write(s4); 3. If you have an image stored within Caspio then there is no URL for the image and you cannot access it through a URL. Its better if you store Images on your own server and then access them via absolute URL. So the variable s1 has the absolute URL to the image stored on your server. Hope this helps, Megha Quote Link to comment Share on other sites More sharing options...
atashijain Posted October 22, 2009 Report Share Posted October 22, 2009 Hi, Try doing this: https://www.google.com/adsense/support/ ... swer=12654 I am sure you would have done it many a times. Also please reboot your browser after saving the settings. You could also check using this small script: http://aspadvice.com/blogs/azamsharp/ar ... owser.aspx Hope this helps. Thanks, Atashi Quote Link to comment Share on other sites More sharing options...
chumkirebzi Posted September 4 Report Share Posted September 4 Hi everyone, just wanted to share this JS Guide on Caspio Form Elements. This references the difference between "InsertRecord" and "EditRecord" when using Javascript. Good luck! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.