Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

WWWForm.AddField

AddField(fieldName: string, value: string, e: Encoding = System.Text.Encoding.UTF8): void;

Description

Add a simple field to the form.

Adds field fieldName with a given string value.

AddField(fieldName: string, i: int): void;

Description

Adds a simple field to the form.

Adds field fieldName with a given integer value. A conveinience for calling AddField(fieldName, i.ToString).