@@ -54,7 +54,7 @@ This method can be used to retrieve all errors for a given form, or an error for
54
54
| Type | Name | Description |
55
55
| ---- | ---- | ----------- |
56
56
| * string* | formName | The name of the form. |
57
- | * string* * optional* | fieldName | The name of the field. |
57
+ | * string* ( optional) | fieldName | The name of the field. |
58
58
59
59
#### Returns
60
60
@@ -81,13 +81,13 @@ For the purposes of this plugin, a "touch" occurs when a field receives input or
81
81
| Type | Name | Description |
82
82
| ---- | ---- | ----------- |
83
83
| * string* | formName | The name of the form. |
84
- | * string* * optional* | fieldName | The name of the field. |
84
+ | * string* ( optional) | fieldName | The name of the field. |
85
85
86
86
#### Returns
87
87
88
88
When only ` formName ` is passed, the method returns ` TRUE ` if any of its fields have been touched, otherwise ` FALSE ` .
89
89
90
- When ` fieldName ` is passed, ` TRUE ` or ` FALSE ` are returned based on the specific state of the field.
90
+ When ` fieldName ` is passed, ` TRUE ` or ` FALSE ` are returned based on the state of the specific field.
91
91
92
92
#### Example
93
93
@@ -208,7 +208,7 @@ Note: this can be used independently of any form or field elements.
208
208
| Type | Name | Description | Default |
209
209
| ---- | ---- | ----------- | ------- |
210
210
| * string* | phone | Phone number. | |
211
- | * string* * optional* | country | A country code. | ` US ` |
211
+ | * string* ( optional) | country | A country code. | ` US ` |
212
212
213
213
#### Returns
214
214
@@ -251,7 +251,7 @@ Find a Gravatar image URL for a given email address.
251
251
| Type | Name | Description | Default |
252
252
| ---- | ---- | ----------- | ------- |
253
253
| * string* | email | Email address. | |
254
- | * string* * optional* | Size | The pixel size to return. | ` 80 ` |
254
+ | * string* ( optional) | Size | The pixel size to return. | ` 80 ` |
255
255
256
256
#### Returns
257
257
0 commit comments