You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/essentials-for-yootheme-pro/addons/forms/elements/input.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,10 @@ Browser does not apply any validation other than the user agent's interface, whe
94
94
|_Max_| The maximum date that the input value must constrain to, `lower than` or `equal to`. |✓|✓|✓|
95
95
<!--@include: ./common-element-validation.md-->
96
96
97
+
::: tip
98
+
When using dynamic values for date fields, always format them as `Y-m-d` (e.g., 2026-06-22).
99
+
:::
100
+
97
101
## Input Email Element {#input-email}
98
102
99
103
Child of [Input Element](#input), the **Input Email Element** displays a [\<input type="email"\>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email) HTML element, use it to create one-line e-mail address edit fields.
@@ -140,6 +144,10 @@ Browser does not apply any validation other than the user agent's interface, whe
140
144
|_Max_| The maximum time that the input value must constrain to, `lower than` or `equal to`. |✓|✓|✓|
141
145
<!--@include: ./common-element-validation.md-->
142
146
147
+
::: tip
148
+
When using dynamic values for time fields, always format them as `H:i` (e.g., `14:30` for 2:30 PM).
149
+
:::
150
+
143
151
## Input Url Element {#input-url}
144
152
145
153
Child of [Input Element](#input), the **Input Url Element** displays a [\<input type="url"\>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/url) HTML element, use it to create one-line url edit fields.
@@ -202,6 +210,10 @@ Browser does not apply any validation other than the user agent's interface, whe
202
210
|_Max_| The maximum month that the input value must constrain to, `lower than` or `equal to`. |✓|✓|✓|
203
211
<!--@include: ./common-element-validation.md-->
204
212
213
+
::: tip
214
+
When using dynamic values for month fields, always format them as `Y-m` (e.g., `2026-06` for June 2026).
215
+
:::
216
+
205
217
## Input Tel Element {#input-tel}
206
218
207
219
Child of [Input Element](#input), the **Input Tel Element** displays a [\<input type="tel"\>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/tel) HTML element, use it to create one-line telephone number edit fields.
Copy file name to clipboardExpand all lines: src/essentials-for-yootheme-pro/v2.4/addons/forms/_partials/element-input.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,10 @@ Browser does not apply any validation other than the user agent's interface, whe
97
97
|*Max*| The maximum date that the input value must constrain to, `lower than` or `equal to`. |✓|✓|✓|
98
98
<!--@include: ./common-element-validation.md-->
99
99
100
+
::: tip
101
+
When using dynamic values for date fields, always format them as `Y-m-d` (e.g., 2026-06-22).
102
+
:::
103
+
100
104
## Input Email Element {#input-email}
101
105
102
106
Child of [Input Element](#input), the **Input Email Element** displays a [\<input type="email"\>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email) HTML element, use it to create one-line e-mail address edit fields.
@@ -144,6 +148,10 @@ Browser does not apply any validation other than the user agent's interface, whe
144
148
|*Max*| The maximum time that the input value must constrain to, `lower than` or `equal to`. |✓|✓|✓|
145
149
<!--@include: ./common-element-validation.md-->
146
150
151
+
::: tip
152
+
When using dynamic values for time fields, always format them as H:i (e.g., 14:30 for 2:30 PM).
153
+
:::
154
+
147
155
## Input Url Element {#input-url}
148
156
149
157
Child of [Input Element](#input), the **Input Url Element** displays a [\<input type="url"\>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/url) HTML element, use it to create one-line url edit fields.
@@ -208,6 +216,10 @@ Browser does not apply any validation other than the user agent's interface, whe
208
216
|*Max*| The maximum month that the input value must constrain to, `lower than` or `equal to`. |✓|✓|✓|
209
217
<!--@include: ./common-element-validation.md-->
210
218
219
+
::: tip
220
+
When using dynamic values for month fields, always format them as Y-m (e.g., 2026-06 for June 2026).
221
+
:::
222
+
211
223
## Input Tel Element {#input-tel}
212
224
213
225
Child of [Input Element](#input), the **Input Tel Element** displays a [\<input type="tel"\>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/tel) HTML element, use it to create one-line telephone number edit fields.
0 commit comments