Jump to content

Search the Community

Showing results for tags 'javascript and autocomplete'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Caspio Bridge
    • General Questions
    • Caspio JavaScript Solutions
    • Tables, Views and Relationships
    • Import/Export and DataHub
    • DataPages
    • Deployment
    • Security, Authentications, Roles, SAML
    • Styles and Localizations
    • Parameters
    • API and Integration
    • Calculations and aggregations
    • User JavaScript and CSS Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Skype


Location


Interests

Found 1 result

  1. Forgive me I'm an excel user trying to get things done on Caspio. I ask the user to input their flight number and use autocomplete to ensure it is a valid flight number for thier airport. Fieldname = Flightno I then ask the user to select the date of the flight Fieldname = FlightDate I thne calculate the Weekday no (using Mon = 1, Tue = 2) Fieldname = Dayno I then concatenate the Verified flight number and the day of the week to get a code I use to lookup and return details of the flight from a table Fieldname = Flightno_code To try to do the same in Caspio, I'm trying to use the following footer script <SCRIPT LANGUAGE="JavaScript"> function concatenate() { var Flightno = document.getElementById("InsertRecordFlightno").value; var Date = document.getElementById("InsertRecordFlightDate").value; var Dayno = Date.getDay(); var Dayno = document.getElementById("InsertRecordDayno").value; var Flightno_code = Flightno + "-0" + Dayno; document.getElementById("InsertRecordFlightno_code").value = Flightno_code; } document.getElementById("caspioform").onmouseover=concatenate; </SCRIPT> When I have the Date, flightno and Dayno as simple inputs, the concatenation works fine, but each element fails when they are not simple inputs. Can anyone point me in the right direction please?
×
×
  • Create New...