sethjohnson1 / conflist5

Conflist cakePHP5
1 stars 0 forks source link

form inputs do not display 'after' text #21

Closed nilesjohnson closed 2 months ago

nilesjohnson commented 2 months ago

Our form inputs look like this

echo $this->Form->control('contact_email',[
  'label'=>'Contact Email(s), comma separated', 
  'after'=>'never displayed publicly; confirmation and edit/delete codes will be sent to these addresses'
]);

The after option seems to be ignored.

sethjohnson1 commented 2 months ago

I don't think after exists any more, but you can use custom variables in custom templates

Pushed a proof-of-concept that should be fairly easy to unravel

nilesjohnson commented 2 months ago

thanks!! that helped a lot; got it working now