Modify Form Generator

2 posts by 2 authors in: Forums > CMS Builder
Last Post: January 29, 2019   (RSS)

By Toledoh - January 24, 2019

Hi Guys.

Would I be able to edit the form generators to output different code rather than the current format?

ie:

rather than

num: <?php echo htmlencode($test['num']) ?><br/>

have

<tr><td>num:</td><td><?php echo htmlencode($test['num']) ?></td></tr>

Cheers,

Tim (toledoh.com.au)

By daniel - January 29, 2019

Hi Tim,

This is something that would require modifying the code generator itself. However, customizations to core code are generally beyond the level of support we can provide here on the forum. If you'd like to look into it yourself, the relevant code is in the function cg2_code_schemaFields() in /lib/menus/_codeGenerator/generator_functions.php.

Thanks,

Daniel
Technical Lead
interactivetools.com