Hi,
When in a list view for a table, I have child records show up in the nice ajax detail records popup. The data that shows up in the popup (in this case always 1 row), is a text field that could be very large. The format of the text field is a custom field. I would like to be able to have my php custom field formating code detect if it is executing in preview mode or other mode (such as view). In preview mode, I'd like for my custom field code to only set $value to the first couple thousand characters to display (the first page of the text), but when the data is formatted for output in view mode, it has to return the entire text field. How do I detect in my php code what context the code is running in - for a details popup preview or in the view mode. Hope this question is clear enough...
TIA!