[SOLVED] Set Data Type doesn't work properly - Deletion on Update
- Single Page
Posted 18 April 2012 - 17:45 PM
Posted 18 April 2012 - 19:08 PM
Posted 18 April 2012 - 19:22 PM
<div class='form-input-box' id="quartal_input_box">
<select multiple onchange="var v = ''; for (var i in this.options) if (this.options[i].selected) v += (v == '' ? '' : ',') + this.options[i].value; this.nextSibling.value = v;"><option value='1' >1</option><option value='2' selected='selected' >2</option><option value='3' >3</option><option value='4' selected='selected' >4</option></select><input type='hidden' name='quartal' /> </div>
<div class='clear'></div>
Posted 18 April 2012 - 19:38 PM
Posted 18 April 2012 - 19:43 PM
Posted 18 April 2012 - 21:34 PM
Now this works fine for ALL the browsers and OS systems and in IE 8 too.
Posted 18 April 2012 - 22:13 PM
Posted 19 April 2012 - 00:46 AM
And Johnny. Thank you for fix that.
Posted 19 April 2012 - 06:35 AM
Posted 19 April 2012 - 07:45 AM
A PHP Error was encountered
Severity: Notice
Message: Undefined index: form_inactive
Filename: libraries/grocery_crud.php
Line Number: 2916
A PHP Error was encountered
Severity: Notice
Message: Undefined index: form_active
Filename: libraries/grocery_crud.php
Line Number: 2916
Posted 19 April 2012 - 08:07 AM
Posted 19 April 2012 - 11:40 AM
[attachment=115:grocery_crud_update_with_set_field.png]
Posted 19 April 2012 - 17:51 PM
Posted 20 April 2012 - 15:45 PM
One suggestion:
I don't use TinyMCE, so it would be nicer to have the texteditor unset by default instead of set. I 'm using Textile-Markup (Textile Class from Textpattern) and have second columns for HTML (parsed textile) in my database (filled by callback function). Textile is only for backend. Frontend code reads the HTML columns. Why Textile? I need definition lists. They are easy in textile (; dd :dt), Tiny sucks.