Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

how to make decimal attributes default value as null

 Hi All,

I have a peculiar scenario where I have a decimal field and its range is 0.1 to 10.

so I created a validator that validates the given range.

and this field is mandatory based on the selection of a particular value in other attribute. and I need the validator only when the field is mandatory.

is there any way to achieve this?

and also the default value is shown as 0 but i dont want anything there is that possible?

Thanks
Surender.

0 votes



One answer

Permanent link
1. Validators will always be executed. If you only need to enforce the range in the same condition as the field being required/mandatory, I think you need to use script-based validtors and put the same logic in the script.
2. Cannot find a way to do it either.

0 votes

Comments

I agree. This is probably the only approach.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Aug 14 '14, 1:36 p.m.

Question was seen: 3,230 times

Last updated: Aug 15 '14, 3:18 a.m.

Confirmation Cancel Confirm