Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/22/2019 in all areas

  1. Maybe, it is possible to merge both scripts (and three steps, that allow do not click the last record more than once): <script type="text/javascript"> if(document.getElementById("caspioform")) { if(document.getElementById("cbParamVirtual1").value==document.getElementById("cbParamVirtual2").value) { document.getElementById("caspioform").style.visibility = 'hidden'; document.write('<font face="arial" color=red size="5">Email Notifications have been Sent!'); } else { if("[@field:text]" == "105") { setTimeout('document.forms["caspioform"].submit()',1000); } else { var v_link = document.getElementsByName("JumpToNext")[0]; if(v_link){ v_link.click(); } } } } </script> I hope, it helps.
    1 point
  2. Hello everyone, I have found a solution, but it requires additional steps. Select the field with id or with any unique value, on the Advanced tab, select the Pass field value as parameter checkbox and copy the name of the parameter (for example, "[@id]"). Add a Virtual field, select the Hidden Form element, select the External Parameters "On load, receive", paste the name of the parameter from step 1 (for example, "[@id]"). Add the second Virtual field, select the Hidden Form element, select the Data Source Field "On load, receive", select the field with id or with any unique value, the field from step 1. Add the Header&Footer element, select the Footer element, click the Source button and enter the following script: <script type="text/javascript"> if(document.getElementById("caspioform")) { if(document.getElementById("cbParamVirtual1").value==document.getElementById("cbParamVirtual2").value) { document.getElementById("caspioform").style.visibility = 'hidden'; document.write('<font face="arial" color=red size="5">Email Notifications have been Sent!'); } else setTimeout('document.forms["caspioform"].submit()',1000); } </script> I hope, it works. And it is not too complex
    1 point
×
×
  • Create New...