/*
This file gives functions to the CIF setup page.
*/

var lineupForm = "https://cdn.rawgit.com/ginshmastc/Volleyball-Bookkeeper/master/HTML/Lineups6p1l.html";


function lineups()
{
    var saved = [];
/*
    saved[0] = document.getElementById('teamA').value + "";
    saved[1] = document.getElementById('teamB').value + "";
    saved[2] = document.getElementById('sets').value + "";
    saved[3] = document.getElementById('playTo').value + "";
    saved[4] = document.getElementById('cap').value + "";
*/
saved[0] = "a";
    saved[1] = "b";
    saved[2] = "c";
    saved[3] = "d";
    saved[4] = "e";
    if(Android != null)
    {
        Android.test("test message");
        Android.test(saved[0]);
        Android.addData(saved);
        Android.loadNextForm(lineupForm);
    }

}


/*
This file gives functions to the CIF setup page.
*/

var lineupForm = "https://cdn.rawgit.com/ginshmastc/Volleyball-Bookkeeper/master/HTML/Lineups6p1l.html";


function lineups()
{
    var saved = [];
    saved[0] = document.getElementById('teamA').value + "";
    saved[1] = document.getElementById('teamB').value + "";
    saved[2] = document.getElementById('sets').value + "";
    saved[3] = document.getElementById('playTo').value + "";
    saved[4] = document.getElementById('cap').value + "";

    if(Android != null)
    {
        Android.addData(saved);
        Android.loadNextForm(lineupForm);
    }
}


Update CIF_Setup1.2.js