امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
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
PHP:
'foo' => ['type' => self::UINT, 'required' => true]The form is something like this:
HTML:
کد:
<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
