Why is a question that you should ask to BMC support or developers
As to change this, you can't really easily... You can, altering a jar file, please check this thread:
The jar file contains what we could call the "template" and "intelligence" part. Perhaps you'll be able to "force" character field display size there. Though of course the "logic" is into "class" files which are "compiled".
Is there any way by which we can achieve the same result from the database level-- I don't know how we can do that ,just am asking-- as i saw the jar file which you are reffering to and it looked very scary:(:(
Nope, not possible at database level I don't think so.
There is OOTB form ( SRM:QuestionDef) which stores information about configured questions.
There is a field named as "field length" on this form. You can change length of your configured text field after altering "field length".
Wow never saw that one it changes the default lenght visually?
I guess some where i am doing some thing wrong.
I changed the field length of SRM:QuestionDef form to 1 and selected Text as Question type.
Then i created one SRD , in the quesion mapping form setting the following values
No of rows specified = 1, No input length
Still the field size appears very large.
Please suggest if i m doing any thing wrong
Please update me on the above post as what is going wrong with my configuration interms of field size.
Sorry but I didn't know this form, I gave it a look but I didn't see "field length" on my version (7.6.04 sp2).
I have only "test_length" and I don't think it concerns the field length?
Did you see the field Sachin spoke about?
I found that field but not sure which version was that.. You had specified in the above post that you saw the difference in the length, please tell me where did you saw the difference means on which version.. and how you configured it
Then we can conclude that this workaround is not applicable to all versions:(
I saw a difference in length?
I am referring to beloew post by you..
"Wow never saw that one it changes the default lenght visually?"
Anyway, I was speaking about the .jar:
For example in file "/SRMSServiceRequestBrowser\resources\templates\questions/answer-textfield-body.st" you can see this:
<input class="textAnswer" id="$questionDOMId$-answer" name="answerText" maxlength="$maxlength$" size="$size$" questionId="$questionId$" class="answerTextfield" onBlur="onBlurText('$questionDOMId$-answer')" value="$answerValue$" title="$questionLabel$"/>
So you could try fixing the "Size" part but it seems it's for the answer.
If you see file "answer-text.st" there is also a mention to an "input" but without "size" but a mention to a css style ("testAnswer" and style).
<input class="textAnswer" id="answer$position$" name="answerText" style="width:50%" value="$answerValue$"/>
<input class="textAnswer" id="answer$position$" name="answerText" style="width:50%" value="$defaultValue$"/>
You need to see the source of the html page once you see the question, it'll give you a hint which ".st" file is used searching in the .st files which "input" is used.
There is a question mark at the end "?" that means I didn't try and that was a question to Sachin
Skipping Question Mark troubled me-- I thought u have already tried it--
By the time Sachin gets us out of this delimma let me try my hands on the jar file you have stated above...
Thanks a lot Laurent for your quick response