Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
7 subscribers
Views
3567 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
How to Make date Picker field non-editable using java script. currently we are u
ajinkyab
over 12 years ago
How to Make date Picker field non-editable using java script. currently we are using below java script to make field disable
(document.getElementsByName("myFieldName")[0]).disabled = true;
but it only disables textbox of date picker and not image available with date picker.
Please suggest....
OriginalPostID-61555
OriginalPostID-61555
Discussion posts and replies are publicly visible
Parents
0
Sathya Srinivasan
Appian Employee
over 12 years ago
What you are saying is combination of two sets of information. If I understood you correctly, you are displaying mixed content in a grid where some can and some cannot be modified. If that's the case, there are the two OOTB options you can do.
Display the content in a paging grid so users selects the row they want to modify and make the changes in a following form. This will give you the option to control the field based on the status of the row selected.
Option 2: Allow all the date field to be editable but put an instruction on top of the grid indicating changing date for records that cannot be modified (for e.g. completed) will throw a validation error. Then validate the change when user submits the form and if the user had made an error by editing one such row, bring the user back to the same form highlighting the error.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Sathya Srinivasan
Appian Employee
over 12 years ago
What you are saying is combination of two sets of information. If I understood you correctly, you are displaying mixed content in a grid where some can and some cannot be modified. If that's the case, there are the two OOTB options you can do.
Display the content in a paging grid so users selects the row they want to modify and make the changes in a following form. This will give you the option to control the field based on the status of the row selected.
Option 2: Allow all the date field to be editable but put an instruction on top of the grid indicating changing date for records that cannot be modified (for e.g. completed) will throw a validation error. Then validate the change when user submits the form and if the user had made an error by editing one such row, bring the user back to the same form highlighting the error.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data