Need Help with Custom Form Tracker Capture

Hello Team,

Good Morning.

I am trying to create a custom form for Registration Program with custom design. All the fields are as in DHIS2 except reporting period. Reporting period is a data element with option set assign to it. I am currently trying to automatically trigger the period as per the current year and month eg: 201701. I tried working around with jquery/angularjs but without a luck. Is there any standard process/procedure we need to follow to achieve that. Is there any tutorial or guidance we can follow? Any suggestion or guidance will be really helpful.

Regards,

utsav