Posts tagged with “helpers

using a helper to wrap injected markup

CakePHP’s FormHelper comes with several, intuitively-named options for injecting markup into a form element. The option I use most frequently is “after”, a very simple way to append an explanatory note after a particular form element. For example, as part of my “Venues” view let’s assume I have an input field for a phone number […]