Jump to content
  • 0

Setting text field using calculated value


Casey

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.

Link to comment
Share on other sites

3 answers 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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...