Aspose::Email::Amp::FormField Class Reference

Describe one field of form. More...

Inherits Object.

Public Member Functions

System::String get_Label () const
 Get or set label of field. More...
 
void set_Label (System::String value)
 Get or set label of field. More...
 
System::String get_InputType () const
 Get or set input type of field. More...
 
void set_InputType (System::String value)
 Get or set input type of field. More...
 
System::String get_Name () const
 Get or set name of field. More...
 
void set_Name (System::String value)
 Get or set name of field. More...
 
System::String get_Id () const
 Get or set Id of field. More...
 
void set_Id (System::String value)
 Get or set Id of field. More...
 
System::String get_Placeholder () const
 Get or set placeholder of field. More...
 
void set_Placeholder (System::String value)
 Get or set placeholder of field. More...
 
System::String get_Value () const
 Get or set value of field. More...
 
void set_Value (System::String value)
 Get or set value of field. More...
 
bool get_IsRequired () const
 Get or set value that define field as required. More...
 
void set_IsRequired (bool value)
 Get or set value that define field as required. More...
 
 FormField ()
 Create instance of form field. More...
 
 FormField (System::String label)
 Create instance of form field. More...
 
 FormField (System::String label, System::String inputType)
 Create instance of form field. More...
 
virtual System::String ToAmpHtml ()
 Represents amp html version of field. More...
 
virtual System::String ToHtml ()
 Represents html version of field. More...
 

Detailed Description

Describe one field of form.

Constructor & Destructor Documentation

◆ FormField() [1/3]

Aspose::Email::Amp::FormField::FormField ( )

Create instance of form field.

◆ FormField() [2/3]

Aspose::Email::Amp::FormField::FormField ( System::String  label)

Create instance of form field.

Parameters
labellabel of field

◆ FormField() [3/3]

Aspose::Email::Amp::FormField::FormField ( System::String  label,
System::String  inputType 
)

Create instance of form field.

Parameters
labellabel of field
inputTypeinput type of field

Member Function Documentation

◆ get_Id()

System::String Aspose::Email::Amp::FormField::get_Id ( ) const

Get or set Id of field.

◆ get_InputType()

System::String Aspose::Email::Amp::FormField::get_InputType ( ) const

Get or set input type of field.

◆ get_IsRequired()

bool Aspose::Email::Amp::FormField::get_IsRequired ( ) const

Get or set value that define field as required.

◆ get_Label()

System::String Aspose::Email::Amp::FormField::get_Label ( ) const

Get or set label of field.

◆ get_Name()

System::String Aspose::Email::Amp::FormField::get_Name ( ) const

Get or set name of field.

◆ get_Placeholder()

System::String Aspose::Email::Amp::FormField::get_Placeholder ( ) const

Get or set placeholder of field.

◆ get_Value()

System::String Aspose::Email::Amp::FormField::get_Value ( ) const

Get or set value of field.

◆ set_Id()

void Aspose::Email::Amp::FormField::set_Id ( System::String  value)

Get or set Id of field.

◆ set_InputType()

void Aspose::Email::Amp::FormField::set_InputType ( System::String  value)

Get or set input type of field.

◆ set_IsRequired()

void Aspose::Email::Amp::FormField::set_IsRequired ( bool  value)

Get or set value that define field as required.

◆ set_Label()

void Aspose::Email::Amp::FormField::set_Label ( System::String  value)

Get or set label of field.

◆ set_Name()

void Aspose::Email::Amp::FormField::set_Name ( System::String  value)

Get or set name of field.

◆ set_Placeholder()

void Aspose::Email::Amp::FormField::set_Placeholder ( System::String  value)

Get or set placeholder of field.

◆ set_Value()

void Aspose::Email::Amp::FormField::set_Value ( System::String  value)

Get or set value of field.

◆ ToAmpHtml()

virtual System::String Aspose::Email::Amp::FormField::ToAmpHtml ( )
virtual

Represents amp html version of field.

Returns

◆ ToHtml()

virtual System::String Aspose::Email::Amp::FormField::ToHtml ( )
virtual

Represents html version of field.

Returns