Skip to main content

How to Prefill a Textbox with variable?

Comments

4 comments

  • Nico Burgerhart

    Use a runtime modification of your Display Form:

    form.Find(Of TextBoxFormItem)("<FormItemID>").DefaultText = YourStringVariable

     

    0
  • Permanently deleted user

    So I added an Assign to the RunTimeModifications

    form.Find(Of TextBoxFormItem)("TextBox1").DefaultText = variable

    But I'm getting 'Type "TextBoxFormItem" is not defined'

     

    0
  • Permanently deleted user

    Hi Peter

    have you got in the Imports part of the workflow designer Geocortex.Forms.Client and Geocortex.Forms.Client.Items included?

    Ralph

    0
  • Permanently deleted user

    Bingo, thanks.

    I should have seen that.

    0

Please sign in to leave a comment.