form filelds custom operations - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: form filelds custom operations (/showthread.php?tid=53936) |
form filelds custom operations - El Forum - 08-14-2012 [eluser]peter222[/eluser] I need to build form with custom operations (like Excel) and wonder how to do it. Example form, 4 fields: row #1 1. [input data $1] 2. [input data $2] 3. [input data $3] 4. [custom operations data in any format] row #2 1. [input data $1] 2. [input data $2] 3. [input data $3] 4. [custom operations data in any format] So, user puts: ROW #1 1. 2 2. 2 3. 3 4. #1$2*#1$2*#1$3 (# = row, $ = field, score = 12) ROW #2 1. 1 2. 4 3. 5 4. #1$2*#2$2+#2$3 (score = 2*4+5 = 13) How to build function who count string in custom operations? Maybe someone help how to start? Maybe there is any library for it? Any hints? |