PerfectForms Forums » General

Connect command returns 0 results

(3 posts)
  • Started 2 years ago by tmrhymer
  • Latest reply from ijobling
  1. tmrhymer
    Member

    In many of my forms I have a connect command that will populate things like dropdowns and inputs. For dropdown's, let's say I have a dropdown and it is filled by a connect command that receives a parameter. That parameter is based on a text input where the user will enter in some text, and click a button. That button will run the connect command and the connect command will the send the text the user typed as the send parameter. If that connect command returns results, those results will be mapped to a dropdown. If the user does that search again in the same form instance and the connect command returns no results, the results from the previous search are left in the dropdown. For scenarios like this, is it standard practice to use a "Set selection items" command to clear the dropdown before running the connect command? If so, I'd like to request a feature be added. If you are mapping return parameters of a connect command to a dropdown and the connect command returns 0 results that the dropdown selection items be cleared. This would save me time and training for our other form builders.

    Posted 2 years ago #
  2. tmrhymer
    Member

    Actually, that goes the same for text input's as well. If I have a connect command filling in text inputs and the connect command returns 0 results than I run the risk of having data from a previous time the connect command ran.

    Posted 2 years ago #
  3. ijobling
    Member

    Would have to say that such a 'scenario' is not standard or typical to be honest, but to do what you are looking for here, just run an action before the connect that sets the required fields to be empty so the connect will run and if returning no response, the field will be empty

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in or register to post.

Contact

1917 Palomar Oaks Way
Suite 160
Carlsbad, CA 92008
866.900.8588

  picture  picture  picture  picture