I've adapted your code but struggling with something. Unsure if this is a wishlist question as I've already done 95% of the work.
I'm creating custom pages for users using drag & drop. The pages allow for DnD modules for different layouts.
What I've done is added a field and row to database called width. Purpose of this is to allow users to select the width of the dropped modules.
The part I'm having difficulty with is page:
/public_html/components/com_notes/views/note/tmp/default.php
See below code as example. Is this something you can assist with or is there another site you suggest I can look at which maybe able to help me.
The line "<?php echo $this->form->getInput('width'); ?>" - returns the current value of the width from the record in question.
Thanks
Stephen
<?php echo JHtml::_('form.token'); ?>
<ul>
<li>
<?php echo $this->form->getLabel('width'); ?>
<?php echo $this->form->getInput('width'); ?>
</li>
</ul>
<br>
<select size="1" name="width" id="width" type="input">
<option>150px</option>
<option>175px</option>
<option>200px</option>
<option>225px</option>
<option>250px</option>
<option>300px</option>
<option>325px</option>
<option>350px</option>
<option>375px</option>
<option>400px</option>
<option>425px</option>
<option>450px</option>
<option>475px</option>
<option>500px</option>
</select>