Jump to content
  • 0
Casey

Setting text field using calculated value

Question

On a submission form I would like to set the default contents of a text field using a calculated value.

I can see that I am able to somehow interfere with the text field from within a different field that is set to datatype 'calculated value' however I don't know how to actually set it.  

As a simple example I've written this: 

 

[@cbParamVirtual1] = "hello world"

 

into my calculated value.   The result of this particular statement is that whenever I type into Virtual1 the data disappears.  "Hello World' does not appear.

Any suggestions are appreciated.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi Casey!

Why do you need to set the default contents of a text field using a calculated value? You can set a default value using the text field itself.  Just go to the Configure Fields of your text form, then select the text field that you want. Then, go to the Advanced Tab, check the Receive value or parameter. Select Default Value on the dropdown, then enter the message that you want to display. You may refer to this screenshot:

 1374169784_settingdefaultvalue.png.8ef3e99c3c786b55a1a87fd21b64ae05.png

 

I hope this helps.

 

~Heather

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×