The Date Picker Plugin is waiting for a way to include images files in plugins.
In the meantime, here it is Date Picker 2 Plugin
This plugin adds a simple Date Picker to any Input Object.
Date format could be customized and it is available in three languages (english, spanish and russian).
Sample App:
http://sinlios.com/neoappbuilder/plugins/datepicker2
You can download this free plugin here:
http://sinlios.com/neoappbuilder/plugin ... icker2.zip
Right now there is only one action in plugin:
slAddDatePicker2 inputId format lang
Date Picker 2 Plugin
Moderator: Neosoft Support
Date Picker 2 Plugin
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
http://sinlios.com
Re: Date Picker 2 Plugin
Hi Luis,
Nice plugin, I'm trying to grab the selected data within my text input box - how would one do that?
I've assigned a variable to the input box but it's still not grabbing the date from the picker
Cheers
Nice plugin, I'm trying to grab the selected data within my text input box - how would one do that?
I've assigned a variable to the input box but it's still not grabbing the date from the picker
Cheers
Re: Date Picker 2 Plugin
You are right TinTin, NeoApBuilder doesn't detect the variable has been changed trough the plugin.
Try to add this code to the page-enter event where you have placed the text field:
Where textFieldName is the id property of the text field and textFieldVariableName the variable you have asigned to it
So whenever the text field lost focus the variable value will be updated with its content.
Regards,
Try to add this code to the page-enter event where you have placed the text field:
Code: Select all
BeginJS
$("#textFieldName").focusout(function(){
$rootScope.textFieldVariableName=$("#textFieldName").val();
});
EndJS
So whenever the text field lost focus the variable value will be updated with its content.
Regards,
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
http://sinlios.com
Re: Date Picker 2 Plugin
Hola Luis, quiero hacerte una consulta
Con respecto al plugin dataPicker tienes algun plugin o posibilidad de agregarle a este que en base a dos fechas seleccionadas calcule la diferencia de dias entre ambas fechas?
Como asi tambien saber que dia de la semana cae una fecha determinada
Si puedes crearlo y tiene algun costo solo dimelo por privadado ya que me interesa eso
Con respecto al plugin dataPicker tienes algun plugin o posibilidad de agregarle a este que en base a dos fechas seleccionadas calcule la diferencia de dias entre ambas fechas?
Como asi tambien saber que dia de la semana cae una fecha determinada
Si puedes crearlo y tiene algun costo solo dimelo por privadado ya que me interesa eso
Re: Date Picker 2 Plugin
gusgusl wrote:Hola Luis, quiero hacerte una consulta
Con respecto al plugin dataPicker tienes algun plugin o posibilidad de agregarle a este que en base a dos fechas seleccionadas calcule la diferencia de dias entre ambas fechas?
Como asi tambien saber que dia de la semana cae una fecha determinada
Si puedes crearlo y tiene algun costo solo dimelo por privadado ya que me interesa eso
Code: Select all
SetVar [date1] "01/10/2017"
SetVar [date2] "01/05/2017"
BeginJS
var date1 = new Date($rootScope.date1);
var date2 = new Date($rootScope.date2);
var diff = date1 - date2;
$rootScope.milliseconds = diff;
$rootScope.seconds = $rootScope.milliseconds / 1000;
$rootScope.minutes = $rootScope.seconds / 60;
$rootScope.hours = $rootScope.minutes / 60;
$rootScope.days = $rootScope.hours / 24;
EndJS
ConsoleLog "days - [days]"
ConsoleLog "hours - [hours]"
ConsoleLog "minutes - [minutes]"
ConsoleLog "seconds - [seconds]"
ConsoleLog "milliseconds - [milliseconds]"