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)