On Mobile, Closing a Popup/New/Same window via the "On Submit" of a form

On Mobile, Closing a Popup/New/Same window via the "On Submit" of a form

I think I have found a Creator Bug. Or can someone help with a workaround?

Scenario:
I have an app that is used primarily through the Zoho Creator iPhone mobile app. As part of a custom workflow on report, when a user taps a button, it executes this deluge code:
  1. openUrl("#Form:Order_Pickup?Order_Lookup=" + input.ID,"new window");
This works well. When this form loads, it uses the camera to "scan" a barcode and I have the field option "Get input before the form is displayed" turned on. This works as well. Then onSubmit I have the following code (the commented lines are other options I have tried that have not worked):
  1. openUrl("#Report:Ready_for_Pickup","parent window");
  2. //openUrl("#Script:page.Close ","same window");
  3. //openUrl("#Script:page.Close ","parent window");
  4. //openUrl("#Script:dialog.close","same window");
Problem:
As soon as I submit, the form reloads and the camera pops up open again. And nothing happens via the code.  Code line 1) does kind of work, but it open the camera THEN it opens a new window with the report. Finally, When I turn OFF the "Get input before the form is displayed" (where it open the camera as soon as the form is loaded), then the code in red works fine. I think this is a Zoho Creator App bug. Can anyone one else confirm?

Thanks in advance!

    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 コンテンツ




                              ご検討中の方