2 Replies Latest reply on Apr 12, 2017 7:40 AM by philmodjunk

    Input field in the custom dialog box.

    muhammad.ikram@contedia.com

      Hello.

      I would like to ask user to enter customer email address and than use that email to preform mailing.

       

      I wanted to use customer dialog box that would appear and ask user to enter the email address. Than script would use that email to send email.

       

      I created an global field in the table linked to customer dialog box input input field.

       

      But the problem is it returns nothing.

      $CustomerEmail variable returns nothing.

       

      Is there anything I am doing wrong.

       

      Thank you in advance.

        • 1. Re: Input field in the custom dialog box.
          alecgregory

          Make sure you have the checkbox to commit the value turned on for the OK button (or whatever button you're using to continue the script) in your custom dialog settings. Otherwise the value entered will not be saved.

          1 of 1 people found this helpful
          • 2. Re: Input field in the custom dialog box.
            philmodjunk

            Data entry via show custom dialog is very limited as to the options that you can select. If all you want is 1 to 3 simple edit boxes for direct entry of data and no immediate error checking on the input, a custom dialog suffices so you might not need to make any changes here.

             

            But there are other options that allow you to bring in the full tool box of layout design, validation and script triggers into use if you need them. (Say, to put a value list on that input box--which can't be done in a custom dialog.)

             

            A popover can make a very easy to implement alternative to a custom dialog.

             

            New window can open either a floating document or modular window to take the place of a custom dialog.