Jump to content


  • Posts

  • Joined

  • Last visited

Community Answers

  1. jhanajc's post in Cascading AutoComplete was marked as the answer   
    The following code in bold has the desired effect. It triggers a change event on the field after it has been updated by script:
    var changeEvent = document.createEvent("HTMLEvents");
    function concatenate()
    mydate = document.getElementsByName("InsertRecordDate")[0].value;
    document.getElementsByName("InsertRecordDate_With_ID")[0].value = list_id+mydate;

    changeEvent.initEvent("change", true, true);
  2. jhanajc's post in Html Block Input Field(S) And Submit Button was marked as the answer   
    Successful test..
    <SCRIPT LANGUAGE="JavaScript"> function saveChange (form) {     TestVar =form.inputbox.value;     document.getElementById('EditRecordFIELD_X').value = TestVar;     document.getElementById("caspioform").submit(); </SCRIPT> <FORM NAME="myform" ACTION="" METHOD="GET"> <INPUT TYPE="text" NAME="inputbox" VALUE=[@field:FIELD_X]><P> <INPUT TYPE="button" NAME="button1" Value="Save" onClick="saveChange(this.form)"> </FORM>
  • Create New...