DHIS2 custom form

Hello all,
I am trying to assign default values to the attribute in the tracker form like “female” should be the selected value for the gender data element as I understand I need to build a custom form in HTML. can anyone help and advise on this issue

Dear @Hadeelt,

What version are you on?

I believe you can use program rules to assign a value to an attribute. Your condition could be something that would always be true so it would always assign female as the value.

Best regards,