JoennAquilino Posted April 8, 2016 Report Share Posted April 8, 2016 (edited) Hi! I would like to ask for some help. Thanks in advance. My problem here is, I actually want to open other data page to add new data to a dropdown on my form. I've read this (http://howto.caspio.com/tech-tips-and-articles/advanced-customizations/add-an-option-to-a-public-facing-dropdown/). It's actually working. What I want now is send a parameter together with the URL. I've used javascript actually, however, it's not working. On my footer: <script type="text/javascript"> var PARAM; var URL1; function popup(){ PARAM= document.getElementsByName("InsertRecordCASCADINGFIELD")[0].value; URL1 = 'URLHERE' + PARAM; window.open(URL1,'popup','width=500,height=300,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false; } document.getElementById("IDHERE").onclick = popup; </script> On the HTML Block next to the dropdown: <a id="IDHERE">LINK</a> It's not working, even though I've tried this one on a normal .html and works. Whenever I click it, new window is not opening. (That's the problem, actually) Edited April 8, 2016 by Joenn Quote Link to comment Share on other sites More sharing options...
MayMusic Posted April 8, 2016 Report Share Posted April 8, 2016 Refer to this HowTo post: http://howto.caspio.com/tech-tips-and-articles/advanced-customizations/add-an-option-to-a-public-facing-dropdown/ Quote Link to comment Share on other sites More sharing options...
JoennAquilino Posted April 9, 2016 Author Report Share Posted April 9, 2016 Refer to this HowTo post: http://howto.caspio.com/tech-tips-and-articles/advanced-customizations/add-an-option-to-a-public-facing-dropdown/ I've read that. What I want to send parameter to the new datapage which cannot be done without using HTML.JS(Not sure if not). I've tried alot of things. It's working now actually. Thanks. (I'm posted the thread since I've been working on this for the whole day and somehow, it's working now after changing a bit of the code) 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.