ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 26,826
- Points
- 823
Reputation:
In my custom entity, I have a field such as:
PHP:
The form is something like this:
HTML:
Of course, there are other fields as well, but if nothing in selected for "Foo" and submit button is pressed, the form...
Read more
Continue reading...
PHP:
'foo' => ['type' => self::UINT, 'required' => true]
The form is something like this:
HTML:
Code:
<xf:selectrow label="Foo" value="{$entity.foo}" name="foo">
<xf:option value="">Select One</xf:option>
<option value="1">Abc</option>
<option value="2">Ghi</option>
<option value="3">Def</option>
</xf:selectrow>
Of course, there are other fields as well, but if nothing in selected for "Foo" and submit button is pressed, the form...
Read more
Continue reading...