Zum Hauptinhalt gehen

How to Prefill a Textbox with variable?

Kommentare

4 Kommentare

  • 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

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.