Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 565

Fieldtypes handle all of the different types of data you can store in your Channels. ExpressionEngine includes a number of Fieldtypes by default, and you can install or uninstall additional ones.

0 votes
1 answer
44 views

Fieldtype runs validate() multiple times?

I'm trying to create a custom fieldtype that's display_field() function produces a collection of <input> boxes. …
leblancexplores's user avatar
1 vote

Fieldtype runs validate() multiple times?

One solution I came up with is to set an instance variable such as $has_already_validated to prevent further validation. It seems to work as there is only one instance created at least. Here's an exam …
leblancexplores's user avatar
1 vote
2 answers
41 views

Get old fieldtype data to prepend with new?

I am trying to create a fieldtype that requires comparison to it's previous data. Any idea how to get this data in the save() function? …
leblancexplores's user avatar
1 vote

Get old fieldtype data to prepend with new?

This solution uses the channel_entries model: function save($data) { if (ee()->input->post('entry_id')) { // look up old data ee()->load->model('channel_entries_model'); …
leblancexplores's user avatar
2 votes
1 answer
105 views

Fieldtype display_field() function converting to htmlentities()?

I'm having some trouble where my display_fields() function is converting my json encoded data from $data into htmlentities(). Here's my function: function display_field($data) { error_log($data) …
leblancexplores's user avatar
1 vote
1 answer
39 views

Determine if display_field is request from {safecracker} tag vs. backend?

:) I am trying to develop a new fieldtype and would like to display different markup depending on whether the field was requested by the user or in the backend. …
leblancexplores's user avatar