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
2896 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Portal Form
mohammedi
Certified Lead Developer
over 8 years ago
Hi All,
I have worked with Tempo forms, i need edit a portal form to add a validation on number of characters in a field.
I was able to achive giving a message saying you have crossed the allowed limit, but i want to add by how much they have exceeded.
For ex:-If character limit is 20 if user enters 25 character i want you show a message you have exceeded the limit by 5 characters.
I couldn't get the entered value in validation message as window api doesn't work nor it is saving into the activity class parameter used to save in the form.
Appreciate your help.
OriginalPostID-231190
Discussion posts and replies are publicly visible
Parents
0
mohammedi
Certified Lead Developer
over 8 years ago
In portal forms, i have not seen any local varibles declared.
The tricky part is we can get the value using window.FormAPI.getValue("text89").id in the validation check but not in the validation message.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
mohammedi
Certified Lead Developer
over 8 years ago
In portal forms, i have not seen any local varibles declared.
The tricky part is we can get the value using window.FormAPI.getValue("text89").id in the validation check but not in the validation message.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data