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
1366 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi All, I have a typical requirement ;not sure whether it is doable or not.
georgej
over 9 years ago
Hi All,
I have a typical requirement ;not sure whether it is doable or not.On a SAIL Form I have around 3-5 text boxes and couple of dropdown fields.One of these fields accepts a business identifier which is validated via web service.As soon as the user keys-in the data and "UNFOCUS" from text box ,a "Working..." message appears on top of the screen and details are populated after successfully invoking the web service.Invoking and getting results from web service takes around 3-5 seconds and during that time although "Working...." message is shown , users go ahead and change the values in other text boxes.This is creating a mess in our systems and we don't want user to edit any of the fields in form(text box/drop down) when the "Working..." message is displayed(i.e when the value entered in text box is saved into and validated).In short when the "Working..." message is dispalyed ,we don't want user to edit any of the components(Text box/combo box) on ...
OriginalPostID-156595
OriginalPostID-156595
Discussion posts and replies are publicly visible
0
georgej
over 9 years ago
...that SAIL Form.Is there any way to accomplish the same.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
You could create a local variable that is used as the value for the disabled attributes on each of the fields you want to lock and start out with it set to true, then update it to false as part of the saveinto on the first field after the webservice has been invoked. This assumes that the first field uses a rule in an a!save on a saveInto to invoke the web service.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
georgej
over 9 years ago
I got your solution,but we want to disable it only during that duration webservice is called.Before invoking and after we have got results ,the fields should be enabled for read/write
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
In that case it might be worth changing the form to use a button that the user clicks when they have entered the identifier; the button could use the saveInto to initially set the variable to true, then back to false once the webservice has been invoked. Unfortunately I'm not sure there's a much better way of doing this.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel