Thanks very much Sergey, you are awesome.
It is not critical or bug but color selection does not also have "Default Text" option like dropdown field. Maybe for version 3.3, you can add this option. In the picture you can see what I mean with default text option.
color selection in display fields rules
- support
- Site Admin
- Posts: 6215
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: color selection in display fields rules
Added. File form archive replace to includes\classes\fieldstypes\
Let me know if it works ok.
Let me know if it works ok.
- Attachments
-
- fieldtype_color.zip
- (1.84 KiB) Downloaded 89 times
-
- Posts: 651
- Joined: 30 Oct 2017, 11:24
- Name: Enis Hemedoglu
- Location: Istanbul, Turkey
- Company Name: SCORE DANISMANLIK
- Contact:
Re: color selection in display fields rules
It works in field configuration but does not work in modal form.
- support
- Site Admin
- Posts: 6215
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: color selection in display fields rules
It displays as placeholder if field is not required.
-
- Posts: 651
- Joined: 30 Oct 2017, 11:24
- Name: Enis Hemedoglu
- Location: Istanbul, Turkey
- Company Name: SCORE DANISMANLIK
- Contact:
Re: color selection in display fields rules
Yes, but if the field is required it always select the first option, if there is no default select. I think it should behave like dropdown field. The placeholder should appear like "Please Select" (if there is no default option) and force to select an option. The dropdown field behaves like this.
- support
- Site Admin
- Posts: 6215
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: color selection in display fields rules
This is not simple dropdown field but I have made change so now if field is required and entered default text then we will display placeholder.
File from archive replace to includes\classes\fieldstypes\
File from archive replace to includes\classes\fieldstypes\
- Attachments
-
- fieldtype_color2.zip
- (1.85 KiB) Downloaded 100 times
-
- Posts: 651
- Joined: 30 Oct 2017, 11:24
- Name: Enis Hemedoglu
- Location: Istanbul, Turkey
- Company Name: SCORE DANISMANLIK
- Contact:
Re: color selection in display fields rules
this solves the placeholder problem thanks. But it occured a new problem. I could use the value of the color selection field in "Ajax Request" field before the last update. But after the last update, the value of the color selection field is always 0 (zero), no matter what I select.
thanks.
thanks.
- support
- Site Admin
- Posts: 6215
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: color selection in display fields rules
File from archive replace to includes\classes\fieldstypes\
Now Color field type should be supported in Ajax request.
Let me know.
Now Color field type should be supported in Ajax request.
Let me know.
- Attachments
-
- fieldtype_ajax_request.zip
- (1.5 KiB) Downloaded 90 times
-
- Posts: 651
- Joined: 30 Oct 2017, 11:24
- Name: Enis Hemedoglu
- Location: Istanbul, Turkey
- Company Name: SCORE DANISMANLIK
- Contact:
Re: color selection in display fields rules
It works as expected. Thanks.