Hi support need help I have to generate a student registration no in the format like year +ClassAppliedFor+six digit auto incremented No + First character of the ParentName(2011+PN+000025+R) . The registration no will look like 2011PN00025R i have almost generated a registration no through pre_submission_handler() but I m not able to save multiple values in the following code please let me know by example that how to save a multiple fields through pre_submission_handler().
In the above code i m not able to save values of $field['label'] == 'Class applied for') and $field['label'] == 'Full Name') simultaneously.