Jump to content

johntgorman

Members
  • Posts

    3
  • Joined

  • Last visited

johntgorman's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Barbara, I pasted your code directly into my footer. When I edited my files and tried to enter new ones, the field \"Keyword\" is left blank in my data table. I am not sure what I'm doing wrong. Anyone have any ideas??? Ultimately, I am trying to create a Keyword search field to search several variables at once. This allows me to screen by location and keyword using the \"contains\" option for comparison. Thanks, John
  2. I am trying to get fields to concatenate in “capture web form†for new record and to “edit web form†in an update form in a footer with no luck. I got this script from the caspio community forum. Is there anything anyone can see that I am doing wrong? I am a Java novice. This is the capture form footer. function concatenate() { //(1) Retrieve the value of the field Catagory and store in a variable Catagory. var Catagory = document.forms[0].InsertRecordCatagory.value; //(2) Retrieve the value of the field Business_Name and store in a variable Business_Name. var Business_Name = document.forms[0].InsertRecordBusiness_Name .value; //(3) Retrieve the value of the field Description and store in a variable Description. var Description = document.forms[0].InsertRecordDescription.value; //(4) Retrieve the value of the field Details and store in a variable Details. var Details = document.forms[0].InsertRecordDetails.value; //(5) Create the string and define a variable with that value. var Keyword = Business_Name+Catagory+Description+Details; //(6) Post the string to the targeted field. document.getElementById(\"InsertRecordKeyword\").value = Keyword; } //(5) On submitting the webform, the function calculate is executed. document.forms[0].onsubmit=concatenate; Also Trying to allow this field to be changed when the record is edited. Script for Editing record and concatenate. Tried to select field from [ ] box in HTML block and still did not work. function concatenate() { //(1) Retrieve the value of the field Catagory and store in a variable Catagory. var Catagory = document.forms[0].EditRecord[@field:Catagory].value; //(2) Retrieve the value of the field Business_Name and store in a variable Business_Name. var Business_Name = document.forms[0].EditRecord[@field:Business_Name] .value; //(3) Retrieve the value of the field Description and store in a variable Description. var Description = document.forms[0].EditRecord[@field:Description].value; //(4) Retrieve the value of the field Details and store in a variable Details. var Details = document.forms[0].EditRecord[@field:Details].value; //(5) Create the string and define a variable with that value. var Keyword = Business_Name+Catagory+Description+Details; //(6) Post the string to the targeted field. document.getElementById(\"InsertRecordKeyword\").value = Keyword; } //(5) On submitting the webform, the function calculate is executed. document.forms[0].onsubmit=concatenate;
  3. I am trying to redirect my search results on a search and report form to a new URL page to display. I am a Java novice and got this code online. I can't seem to get it to work. Any Suggestions. onClick=\"document.location = 'http://www.locallinksrebates.com/searchresults.html';\"
×
×
  • Create New...