on 11-28-2006 4:52 PM
Hi all,
My question is:
Is it possible to create String input field, which contains simple date navigator (like input field of "date" type)?
I want use it for user comfort - he/she can pick-up date from date navigator, but he/she can type another strings {>, <=, ... } before or after selected date.
Or, in another way, is it possible to get String value of Date Input Field?
Regards,
Michal
1.Add one button adjacent to input field.
2.Add a DateNavigator element to the view.
3.Map it visible property to one context value attribute.
4.On click of button set above value attribute to visible.
5.On click of date navigator set value of input field and
set visible value attibute to none.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for answers..
But I have to use this format - JUST ONE input field ( that's GUI specification by another company - I cannot change it ). My application only send user input as a string value to backend system (3rd party system parses that string)... So I want to use Date Input Field with no validation and get string value of that field - but I don't know how.
Best Regards,
Michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
The backend system requirements had nothing to do with it.
You can use seperate input fields as mentioned before.
After Submit you can add this 2 fields in your code together and submit that to the backend system.
Field 1: The datenavigater >
Date d = wdContext.currentDate();
Field 2: The inputfield.
String dataToSubmit = d.toString() + valueFromTheInputField.
Michal,
You can't use Date Input Field with no validation, because doesn't work! So, to solve a issue like that, the better way that I've found, create a String Input Field, I create a image link like calendar help and when the user pick-up this calendar link, my application open a new window, like a calendar help, but this window is a my component, not a standard sap component. When the user select a date at my calendar, this date is sent to my String input field.
This is a dirty solution, but I've found just it!
Regards,
Luciano
Hi Michal,
There isn't possible to create a String input field with a date navigator.
The better option is separate this information in two fields!
Regards,
Luciano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
Why dont you use a drop down(with all possible values like >,>=.< etc)
before or after the date navigator input field. This gives users flexibility and also we can avoid possible errors.
Regards
Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.