Hello,
I am trying to get a value from a Time item that i have on a this form:
I am using console.log from firebug, which is returning undefined. The same code works if i change to Date.
Am i missing something here or is there another way to get the value?
Another question, what is the best way to have the two buttons side by side and aligned to the center. I was only able to have them side by side, but couldn't find a way to align to the center ( considering that this form has 2 columns ).
Thanks you!
I am trying to get a value from a Time item that i have on a this form:
Code:
isc.DynamicForm.create({ autoDraw: false, ID: "dateForm", height: 48, padding: 4, fields: [ {name: "Date", type: "date"}, {name: "Time", type: "time"}, {type: "button", title: "Enviarme", click: "do_mail( 0 );", endRow: false, align: "right" }, {type: "button", title: "Enviar Todos", click: "console.log( form.getValue( 'Time' ) );do_mail( 1 , form.getValue( 'Time' ) );", startRow: false, align: "left" } ] })
Am i missing something here or is there another way to get the value?
Another question, what is the best way to have the two buttons side by side and aligned to the center. I was only able to have them side by side, but couldn't find a way to align to the center ( considering that this form has 2 columns ).
Thanks you!