PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Can the total field be required?

  1. rogerlos
    Member

    I have a form (not yet live) where users can choose from a number of different products, all optional, but I don't want them to be able to submit the form unless at least one of the products is chosen. It would seem to me that the easiest way to do this would be to not allow the form to be submitted unless total > 0 ... or is there a better, easier, already existing way to accomplish this?

    Posted 13 years ago on Tuesday April 5, 2011 | Permalink
  2. The Total isn't really field in the traditional sense. It's a design element.

    If you want them to select from a number of different products you could use a drop down to list the products and then make the drop down required.

    We plan on enhancing the Pricing Fields in a future release to add additional features, they are brand new so we are still seeing how people are going to use them and will enhance them based on use cases. Requiring the Total be > 0 is a good idea so we could see how we could handle that in a future release.

    Right now you would have to do it by applying the required field option on individual product fields.

    Posted 13 years ago on Tuesday April 5, 2011 | Permalink
  3. rogerlos
    Member

    Thanks for the reply, It's an edge case anyway (who submits a purchase form without purchasing something?) and our volume is so low on this form we can hand-hold if needs be. But a future upgrade along these lines would be awesome.

    Posted 13 years ago on Tuesday April 5, 2011 | Permalink
  4. Patag
    Member

    A related question: is there a way that the total updates 'real time'?
    I mean while clients type the number of products required, the total counts up at the same time?

    Currently the total field only displays the total once a user clicks outside the amount box, which is a bit annoying, The most elegant but still rather dumb solution I found to make a dummy button saying 'update total', so people at least have something to click on.
    thanks

    Posted 13 years ago on Wednesday April 6, 2011 | Permalink
  5. @Patag Currently the javascript is only triggered when a user clicks outside of the field. This can't be changed. We may enhance this in the future so that it is calculated real time, but then we will inevitably encounter users who only want it to total when the user has completely entered the value.

    Posted 13 years ago on Wednesday April 6, 2011 | Permalink
  6. I will second the motion to be able to make the Total field required! [Requiring the Total be > 0]

    GF rocks!

    Posted 12 years ago on Saturday March 10, 2012 | Permalink