We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

how to notify user of errors in fieldframe extension (EE1)

Development and Programming

ender's avatar
ender
1,644 posts
15 years ago
ender's avatar ender

I’m building a new custom field type for EE 1.6.x using BK/P&T’s FieldFrame API. The custom field type has a fairly involved collection of settings and it’s possible to pick things that will fail. I am using the save_site_settings()/save_field_settings()/save_cell_settings() functions to do the validation on the values the user gives for the various settings, but I haven’t seen a way to give them a “these fields are wrong, go back and try again” message… is this possible? I’d rather present the errors in a more friendly way than just doing something like:

die("you f'ed up some fields")

😉

thanks for any insights.

[Mod Edit: Moved to the Extensions forum]

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.