Jump to content


  • Posts

  • Joined

  • Last visited

alpha's Achievements


Newbie (1/14)



  1. I figured this out on my own, except I can't figure out how to do the same thing with fields of the "file" type. Please help.
  2. Does anyone have any idea why this won't work? Please help... been spending almost all day on this. I want the field Job_Comment (which is a long text field) to equal "None" if the user leaves it blank. I have deployed this in the footer of a web form data page. function job_blank() { var jobc = document.getElementById("InsertRecordJob_Comment").value; if (jobc.equals("")) { document.getElementById("InsertRecordJob_Comment").value="None"; } } document.getElementById("caspioform").onsubmit=job_blank;
  3. I would like to input a default--"NONE"--into a text field if a user submits a web form with nothing in that field. I assume I need to do this with java script in the footer of the form, but I'm not sure how. Also, is it possible to do the same thing with a file field? When people view this record, I would like it to say "No File Uploaded" if one was not. Is it easier to do this when the form is submitted or when the field is displayed? Thanks!
  • Create New...