[form] page_title= add_form_title= view_form_title= edit_form_title= id_column_name=con_id form_validation=1 form_name=frm_edit form_method=POST enctype= form_action=/contract data_collection_name=filter_info edit_link=/master-data/view-customer?customer_id= back_link=/master-data/index cancel_link=/system-configuration/view-meter?meter_id= form_element_type= [dropdowns] ;id name data_collection_name cssClass rows value id_column_name text_column_name select_text multiple ;--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- stu_id, stu_id, filter_info, validate[required], appentice_mood, stu_id, stu_id, am_mode, -- ALL --, 0 tm_id, tm_id, filter_info, validate[required], training_mood, tm_id, tm_id, tm_mode, -- ALL --, 0 reading_mode, reading_mode, meter_info, width-200, dropdown_reading_mode, reading_mode, reading_mode, reading_mode, , , [hidden fields] ;field_id, value_filed, ;-------------------------------------------------------- selected_year, selected_year ;meter_full_name, meter_full_name setStatus, setStatus [fields] ;caption, type, display_mode, field_id, value_filed, cssClass, required(1 or 0), compare_filed, row_css ; 0 or null = All ; 1 = Edit only ; 2 = Add only ; 3 = View only ;-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Schedule Assessment , radio, , assessment, 1, form-control, , , col-md-6 Mark Result , radio, , assessment, 2, form-control, , , col-md-6 Exam Date, date, , testdate, testdate, validate[required] width-600 required, 1, , col-md-6 Note, text, , note, note, validate[required] width-600, 1, , col-md-6 Student List, dropdown, , stu_id, stu_id, form-control, , , col-md-6 [buttons] ;button_ype, button_id, button_caption, css_style, button_location, button_mode ;(button/submit/rest) left/right 0 = View | 1 = Edit ;-------------------------------------------------------------------------------------------------------------------------------------------------------- ;submit, btn_save, Search, btn-primary, right, 1 [script] function submit_sttus() { ids = get_row_ids(); if(ids == '' ) { confirm("Please select some contracts to Update"); }else { var note = $("#note").val(); var setStatus = $("#setStatus").val(); var date = $("#testdate").val(); postwith('/exam/update-exam-status', {ids:ids,setStatus:setStatus,note:note,date:date}); } ; //alert('/studio/order-search?'+search_key+'='+search_txt); }