Hello
I'd like to create a cloned template with databound form but prefill the editables with the values from an existing cloned page.
Unfortunately the method as follows does not work:
If it doesn't work, I would be forced to recreate all editables in a non bound form. This would mean practically a duplicate of the template definition and lead to possible errors if I modify the template later on because of duplicate code.
Any Idea how to solve this?
Regards,
Olliwalli
I'd like to create a cloned template with databound form but prefill the editables with the values from an existing cloned page.
Unfortunately the method as follows does not work:
- Code: Select all
<cms:pages masterpage='app/data/anfragen.php' id=rt_id limit='1'>
<cms:form
masterpage='app/data/anfragen.php'
mode='create'
enctype='multipart/form-data'
method='post'
id='editAnfrage'
>
<cms:input type="bound" name="status" class="form-control" value=status/>
...
...
</cms:form>
</cms:pages>
If it doesn't work, I would be forced to recreate all editables in a non bound form. This would mean practically a duplicate of the template definition and lead to possible errors if I modify the template later on because of duplicate code.
Any Idea how to solve this?
Regards,
Olliwalli