isV2Form()

Overview

public boolean function isV2Form(
      required string formid
)

Returns whether or not the given form is a "V2" form. V2 of the forms data model was introduced in Preside 10.13.0 and uses a shared set of questions. When the v2 forms feature is enabled, all newly created forms will be a "V2" form while old forms will remain V1.

Arguments

NameTypeRequiredDescription
formidstringYesThe ID of the form to check