Jump to content

Search the Community

Showing results for tags 'dropdown custom values'.

  • 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. I have a dropdown field that I want to be able to enter a custom value. I do not want this value to be added to the table. In Microsoft Access, there is an option to 'LimitToList = false'. So instead, I created a Virtual field with the dropdown options. I also have the actual field called 'ItemName'. If someone uses the dropdown, the option will be copied to the 'ItemName' field. If they want to enter a custom value, they can simply fill in the 'ItemName' field. Here is my script: <script> function EnterCustomValue() { var v_standardOption = document.getElementsByName("cbParamVirtual1")[0]; document.getElementById("insertRecorditemName").value = v_standardOption; } document.getElementById("cbParamVirtual1").addEventListener("change", EnterCustomValue); </script> If the dropdown is used, it gives me an error saying the filed is empty.
×
×
  • Create New...