Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

WWWForm.AddField

Switch to Manual
public function AddField(fieldName: string, value: string, e: Encoding = System.Text.Encoding.UTF8): void;

Parameters

Description

Add a simple field to the form.

Adds field fieldName with a given string value.


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

Parameters

Description

Adds a simple field to the form.

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