How to: Clear and Return to Form After Submit

  • wa3riz
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0

wa3riz created the topic: How to: Clear and Return to Form After Submit

I have a simple form used to submit one image at a time but users may need to submit up to eight. I need to return to the form so they can continue their submissions.

That is, unless you can tell me how to use one form with eight entry fields which will create a new record in the db for each submission.

Thank You, Jeff
#238724
  • Posts: 2986
  • Karma: 104
  • Thank you received: 394

mihaela replied the topic: How to: Clear and Return to Form After Submit

Hello,

If I have understood correctly, you want the user to submit up to 8 pictures, but it musn't be recorded as one submission, but as 8(or whatever the number is) separate submissions?

In which way would you like to return to submission? By default, user will be returned to the form after submission, but if you wish to keep the form data here is what I can suggest.

If you create a menu item for the form in the Add Form tab you can set "Submission editable by user?" to "Yes". That way, after submission, when the user enters the form again or is redirected to it, his data previously entered will be shown.

Note that in order for this to work, user has to be logged in each time when he fills in the form.

Let me know whether this resolves your issue.

Regards,

Mihaela
#238731
  • wa3riz
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0

wa3riz replied the topic: How to: Clear and Return to Form After Submit

Mihaela,

Thank you for the response.

You say: " By default, user will be returned to the form after submission, "
That is what I need only. I must have something configured incorrectly because after they submit the form it returns to a blank page where the Breadcrumb says it's still on the form. But the form is not present.

Note: the page is a BF form, but I do have CB installed. The form is not in a view.

Jeff
#238742
  • Posts: 2986
  • Karma: 104
  • Thank you received: 394

mihaela replied the topic: How to: Clear and Return to Form After Submit

Hello again,

Can you please tell me how you have published the form? Did you create a menu item for this form?

Regards,

Mihaela
#238744
  • wa3riz
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0

wa3riz replied the topic: How to: Clear and Return to Form After Submit

Yes, that is correct. I can try using it in a view if suggested. Jeff
#238747
  • wa3riz
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0

wa3riz replied the topic: How to: Clear and Return to Form After Submit

Additional: I tried setting it up as a view of the form and referring to the view via the menu. I get basically the same behaviour.
#238750
Moderators: ForumSupporttomeperica
Time to create page: 0.071 seconds

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here