PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How to save multiple fields through Pre_submission_handler()

  1. 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.

    Posted 13 years ago on Wednesday March 23, 2011 | Permalink