cancel
Showing results for 
Search instead for 
Did you mean: 
adrianaprodan
Nintex Newbie

forms date/time control with 1 minute period

Jump to solution

Hello all,

Is there a way to change the date/time control so that the minutes filed show all minutes not only from 5 to 5?

thank you,

adriana

Labels: (3)
0 Kudos
Reply
7 Replies
fhunth
Nintex Newbie

Re: forms date/time control with 1 minute period

Jump to solution

Adriana:

Como estas?

Currently, you only can set minutes from 5 to 5. Perhaps you could write some JavaScript so as to change it, but should be tested also on the edit view.

Reply
adrianaprodan
Nintex Newbie

Re: forms date/time control with 1 minute period

Jump to solution

Hello Fernando,

I thought so too.. but i was hoping for some sort of settings.

Thanks

adriana

0 Kudos
Reply
fhunth
Nintex Newbie

Re: forms date/time control with 1 minute period

Jump to solution

No problem, please set it as answered

0 Kudos
Reply
Not applicable

Re: forms date/time control with 1 minute period

Jump to solution

Thanks for the right answer Fernando.

0 Kudos
Reply
espradli
Nintex Newbie

Re: forms date/time control with 1 minute period

Jump to solution

I added a list template of "notable events" you can import. Then I attached a form where we added javascript to it and the 24 hour gets converted properly.

If you are curious, the JavaScript is located in settings>Custom JavaScript

function funcResolve()
{
var fullDate = new Date();
var realMonth = fullDate.getMonth() + 1;
var hours = ("0" + fullDate.getHours()).slice(-2);
var minutes = ("0" + fullDate.getMinutes()).slice(-2);
var currentDate =  realMonth + "/" + fullDate.getDate() + "/" + fullDate.getFullYear();
if (hours   < 10) { hours   = "0" + hours;   }
var cTime = hours + ":" + minutes;
// Set the date field
NWF$('#' + fldResDate).val(currentDate);
// Set the time (hours + minutes) fields
NWF$('#' + fldResTime).val(cTime);
NWF$('#' + chkComplete).click();
}

Reply
Highlighted
adrianaprodan
Nintex Newbie

Re: forms date/time control with 1 minute period

Jump to solution

thank you so  much. i will for sure try this.

Reply
espradli
Nintex Newbie

Re: forms date/time control with 1 minute period

Jump to solution

let me know if it works for you

0 Kudos
Reply