Form

You can customize the colors and properties of the  Form  to match the look and feel of your application.

Form

Copied//Get baseTheme using ZohoSalesIQ.Theme.baseTheme
let customTheme = ZohoSalesIQ.Theme.baseTheme

//Customize properties in the customTheme instance as desired
customTheme.Form.backgroundColor = UIColor.white
customTheme.Form.campaignOptInTextColor = UIColor.gray
customTheme.Form.checkboxCheckedColor = UIColor.blue
customTheme.Form.checkboxUncheckedColor = UIColor.gray
customTheme.Form.errorColor = UIColor.red
customTheme.Form.submitButtonBackgroundColor = UIColor.red
customTheme.Form.submitButtonTextColor = UIColor.red
customTheme.Form.textFieldBackgroundColor = UIColor.lightGray
customTheme.Form.textFieldPlaceholderColor = UIColor.lightGray
customTheme.Form.textFieldRequiredIndicatorColor = UIColor.red
customTheme.Form.textFieldTextColor = UIColor.black
customTheme.Form.textFieldTintColor = UIColor.red
customTheme.Form.textFieldTitleColor = UIColor.gray

//Set the customized theme using ZohoSalesIQ.Theme.setTheme API
ZohoSalesIQ.Theme.setTheme(theme: customTheme)