I have a field, i.e. Customfield_1. Now when I select a value (example: Yes) from Customfield_1, I should get a Pop uo message. How do I do this please?
Here is a solution I came up with to display the message in a Field when condition meet or success.
"XXX.setHelpText" is a magic word.
You'll need to write some code to do that. Sounds like some javascript is needed, but I'm not sure you'll be able to do it all by injecting that into fields, you might have to write an add-on to support it.
I'd also recommend not doing it - humans don't like pop-ups that interrupt what they're doing. Could you explain the use-case and maybe we can get you a better answer, or one that doesn't require code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Lets say I have two fields, Customfield_1 and Customfield_2. Customfield_1 has Dropdown value "Yes and NO". When Yes is selected in Customfield_1, Customfield_2 will get the Auto Populated Value as "Public". So I want my users to make aware that Selecting Yes in Customfield_1 will give the value as Public in Customfield_2. Which means I want to tell my users that selecting Yes will keep the ticket accessible to the Public.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, that's a horrible thing to do to a user with a pop-up.
I would
A show/hide here will not break the users flow, unlike a popup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a process to directly do from the Behaviours or adding Initialiser function? I do not want to add the message directly into the field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't understand the question.
Behaviours can do what I describe.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Below is my condition:
if(gov_data.getFormValue()=="18961")
security.setHidden(false)
else security.setHidden(true)
Here, Gov_Data and Security fields are System field and used by other projects. So I cannot add the message box in thos efield. I want to add the message from the script in Behaviro.
When Gov_data = 18961 which means Yes, Security will set the value as 'Public'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gov_data is not a system field, it's a custom field. Behaviours can be project/issue specific though, it should handle that for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.