var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Form Default Value
Can I have a form text box default value be the value from another text box plus a number?
IE: text1 is 830 and I'd like the default for text2 to be 830.25
Ok, let me tell you what I am after.
Start an activity at a certain time, if it ends at the same time I'd like the default value to be 1/4 of a minute. Or .25.
Last edited by davenportjacque; 11-13-05 at 16:19.
Sure...If the text2 the same form as text1 then you would place this into the Default Value property:
Originally Posted by davenportjacque
If text2 is located on another form then you would place this into the Default Value property:
Self Taught In ALL
Environments.....And It Shows!
And for generating a new invoice number (and the field is NOT an autonumber field) I've even put something like this into the InvNum control's DefaultValue property:
Is there any reason at all why it wouldn't work? I've tried both suggestions, but it won't place that default value in the form.
I'd even settle to have it place the same value as text1 in it. But can't get that work work either.
Last edited by davenportjacque; 11-14-05 at 22:05.
Reason: More to say...
I didn't mention that I have a 3rd calculated field. I put the following in that field.
Buuuuut....How can I get text2's default value to be the same as text1?
That makes no sense. You have a field with "=[text2] - [text1] + .15" and now you want to set text2 to be the same value as text1? What are you doing?