CodeIgniter Forums
Form Helper in view parser - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: Form Helper in view parser (/showthread.php?tid=78916)



Form Helper in view parser - titounnes - 03-26-2021

Permission to ask.
Can the form helper be used in a view parser?
Is there an example?


RE: Form Helper in view parser - InsiteFX - 03-29-2021

I don't think you can because the view parser will not allow any php code.


RE: Form Helper in view parser - orionstar - 03-29-2021

I think you should register those functions as a plugin https://codeigniter4.github.io/userguide/outgoing/view_parser.html#registering-a-plugin