Alpha Video Training
Results 1 to 2 of 2

Thread: How to get user input data from a user in a read only grid and pass the data to XBASIC function`

  1. #1
    Member
    Real Name
    Mary Grove
    Join Date
    May 2015
    Posts
    4

    Default How to get user input data from a user in a read only grid and pass the data to XBASIC function`

    Really new to this -

    Have a grid with a search area - check boxes to allow selection of routes to run - works great
    Read only presents all the addresses within the selected routes - works great
    Check boxes allow the addresses to be selected - works great

    I need the user to tell me the DATE they are selecting for and the VEHICLE they are going to use.
    Javascript prompt allows me to enter the information but it is not saved anywhere I can get to it.

    var vVW_SCHED = prompt("Enter Schedule Date", "");
    tried:
    {grid.Object}._setValue('G','VW_sched_date',1,vVW_SCHED);
    {dialog.Object}.setstateInfo(vVW_SCHED);

    Everything is working in my Xbasic code and all other actions on this screen - how do I perform this simple task????

  2. #2
    "Certified" Alphaholic
    Real Name
    Lee Vasic
    Join Date
    May 2010
    Location
    Salt Lake City
    Posts
    1,215

    Default Re: How to get user input data from a user in a read only grid and pass the data to XBASIC function`

    An ajax callback to save data to the SQL database. You can call the ajax call back from javascript.

Similar Threads

  1. How to pass data from Javascript to Xbasic function
    By username1234 in forum Mobile & Browser Applications
    Replies: 3
    Last Post: 11-06-2014, 10:10 PM
  2. Using a read-only grid to get data and make data submission through code.
    By RhinoSmith in forum Mobile & Browser Applications
    Replies: 2
    Last Post: 04-12-2014, 12:51 PM
  3. is there a way to disable a user from copying data shown in a grid?
    By leetv in forum Application Server Version 11 - Web/Browser Applications
    Replies: 6
    Last Post: 10-24-2011, 02:12 PM
  4. How to use javascript "Prompt box" to get user to input data for a field on a grid?
    By Scholin in forum Application Server Version 10 - Web/Browser Applications
    Replies: 3
    Last Post: 01-04-2010, 03:46 PM
  5. Replies: 4
    Last Post: 08-18-2006, 09:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •