app.js
function initializeForm() {
    form = new Form( 'form.or:eq(0)', {
        modelStr: modelStr
    }, {
        arcGis: {
            basemaps: [ 'streets', 'topo', 'satellite', 'osm' ],
            webMapId: 'f2e9b762544945f390ca4ac3671cfa72',
            hasZ: true
        },
        'clearIrrelevantImmediately': true
    } );
    // for debugging
    window.form = form;
    //initialize form and check for load errors
    loadErrors = form.init();
    if ( loadErrors.length > 0 ) {
        window.alert( 'loadErrors: ' + loadErrors.join( ', ' ) );
    }
}
function initializeForm() {
    form = new Form( 'form.or:eq(0)', {
        modelStr: modelStr
    }, {
        arcGis: {
            basemaps: [ 'streets', 'topo', 'satellite', 'osm' ],
            webMapId: 'f2e9b762544945f390ca4ac3671cfa72',
            hasZ: true
        },
        'clearIrrelevantImmediately': true
    } );
    // for debugging
    window.form = form;
    //initialize form and check for load errors
    loadErrors = form.init();
    if ( loadErrors.length > 0 ) {
        window.alert( 'loadErrors: ' + loadErrors.join( ', ' ) );
    }
}
function initializeForm ( ) { form = new Form ( 'form.or:eq(0)' , { modelStr : modelStr } , { arcGis : { basemaps : [ 'streets' , 'topo' , 'satellite' , 'osm' ] , webMapId : 'f2e9b762544945f390ca4ac3671cfa72' , hasZ : true } , 'clearIrrelevantImmediately' : true } ) ; // for debugging window . form = form ; //initialize form and check for load errors loadErrors = form . init ( ) ; if ( loadErrors . length > 0 ) { window . alert ( 'loadErrors: ' + loadErrors . join ( ', ' ) ) ; } }
initialize the form
initialize the form