⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

reordering form fields in view



technotroop
  • profile picture
  • Member

Posted 03 January 2013 - 06:38 AM

Hellow Everyone. I would like to know if there is any readymade solution for this problem:

- table schema:
CREATE TABLE IF NOT EXISTS `tbl_semester` (
`semester_id` int(5) NOT NULL AUTO_INCREMENT,
`fkfaculty_id` int(5) NOT NULL,
`fkbatch_id` int(5) NOT NULL,
`semester_title` varchar(50) DEFAULT '1',
`semester_description` varchar(255) DEFAULT NULL,
`semester_start_date` datetime NOT NULL,
`active_status` int(1) DEFAULT '1',
`delete_status` int(1) DEFAULT '0',
`created_by` int(5) DEFAULT NULL,
`created_date` datetime NOT NULL,
`updated_by` int(5) DEFAULT NULL,
`updated_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, ...

- the schema would create faculty_id and then batch_id but i would like to render form fields reordered like batch_id and faulty_id.

Does any one have any solution on this?

victor
  • profile picture
  • Member

Posted 03 January 2013 - 09:42 AM

Hi Technotroop and welcome to the forum. You can use the add_fields and edit_fields.