Hi fellow Nintex Admins,
in InfoPath i can set a text field to "time". Is there a way to achieve this with Nintex Forms?
Cheers
Daniel
Hi fellow Nintex Admins,
in InfoPath i can set a text field to "time". Is there a way to achieve this with Nintex Forms?
Cheers
Daniel
If you have a date with time you can extract just the time using the Build string action and save it to a variable/text field:
fn-FormatDate({ItemProperty:Modified}, "t")
If you want to capture the current time you can use the Current Time reference and save it to a variable/text field.
Hope this helps.
Hi Igor,
thank you for your answer, but this is not what i am looking for.
In my case, the user has to add hours / minutes. I have a date / time field in the same form, so it would be nice to stay in the same usability logic.
In this case you might want to use the Calculate date action and add hours/minutes to the existing date.
I think wie are talking about different things
The user has to fill out a Nintex Form in a library. In this form is a field, where the user has to add a time. There is no date or no workflow involved in this situation:
Uhrzeit = time
Cheers
Daniel
So I think it looks like you're looking at a text box with a set format so it's input in time. Perhaps Regex validation would be your best bet?
So why not just use the date & time format?
You can then format and display it in multiple ways.
Cause i have only one date but multible time fields
Hey Daniel,
What did you end up doing to make your multiple time fields work? I have multiple time fields then I need to calculate the duration of the work on my form.
So yea, I have the same question.
Thanks
Kassie
I had a situation where I needed the user to only input the time portion of the Date/Time and the customer wanted to restrict the time entry to 5 minute intervals. I though great, I'll just use the Date/Time picker, but the customer did not want the date field to be exposed. So, here's what I did.
#1. Hide the Date field in the Custom JavaScript.
|
I found this would hide the date field, but left the calendar button on the form.
#2. Redefine the Date/Time picker. Added the following to the Custom JavaScript. (Note I use the empty.gif for the button).
|
#3. Remove the default control and use our new defined control. (Just added 2 lines to step #1)
|
In the design the fields still appear, so placing them on the form takes a little imagination.
But when displayed on the entry or display form, it works.
Hope this works for you.
Hi Fred,
Will it work if we have multiple controls of this type on the form? If so, what changes will i have to make, please?
regards,
Nabil
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.