fields are not showing when checked checkbox field on load of the form

fields are not showing when checked checkbox field on load of the form

Hi,

i am trying to show fields when checkbox field is checked and if not checked then not show that is hide in the load of the form on create or edit of the form.

SO, have created workflow on created or edited on load of the form .
The code is as shown below: (ship_out field is checkbox field and its value is Yes)

if(input.ship_out == "Yes")
{
show ship_out_date;
show number_of_boxes1;
show To_Do;
show Cost;
show Units;
show Extra_charge;
show Box_Charge;
show remark;
show Boxes_left_for_storage;
}
else
{
hide ship_out_date;
hide number_of_boxes1;
hide To_Do;
hide Cost;
hide Units;
hide Extra_charge;
hide Box_Charge;
hide remark;
hide Boxes_left_for_storage;
}

so,
they are not showing when checked checkbox field on load of the form, it is working like they are hiding all fields when not checked.

attached file is showing the fiels link name and its value.

Pls help and let me know if need other details.



Thanks and Regards,
Sidhant A.
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方