TOPIC:

Multiple Users, One Form 5 months 3 weeks ago #240294

  • Topic Author
  • innacamb
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 10
  • Thanks: 0
Perfect!

I must export the form as .xml and attach here??

Thanks!!

Please Log in or Create an account to join the conversation.

Multiple Users, One Form 5 months 3 weeks ago #240295

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 803
Hi,

yes, please zip it before you post it.
If it is confidental, you can also send it to: mbopp@evolutio-it.com

Regards,
Markus

Please Log in or Create an account to join the conversation.

Multiple Users, One Form 5 months 3 weeks ago #240342

  • Topic Author
  • innacamb
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 10
  • Thanks: 0
I did this basic form with this idea:

If button "Confirmar" is clicked on every page, i'd like to lock the elements of that page and register their values to DB.
The Form could be show and could be filled once per day. Maybe is interesting to create the new day's form at 7AM of next day, because sometimes work day ends at 2AM.
And the pages would be filled by different users. Is for that way i create a label with the user name at every page.

File Attachment:

File Name: CheckSonido.zip
File Size:20 KB
Attachments:

Please Log in or Create an account to join the conversation.

Multiple Users, One Form 5 months 3 weeks ago #240359

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 803
Hi,

attached is my version that works how you describe it:

- In User Page 1, 2, 3 is stored who submitted the page (I removed the Usario field and use a hidden input for that)

- Once the form is complete, it is locked, until the next day (make sure your server time is set correctly to the timezone you are expecting. the date check happens on database level).

In order to achieve this I worked at these options in BreezingForms:

form -> advanced -> more options -> scripts -> init. script:

Here is most of the "magic" and it is reponsible to populate the data from previous partial submissions.

form -> advanced -> more options -> submit pieces -> begin submit:

Here, old submissions are deleted for the current day before an updated submission is getting stored.

In the form settings themselves, I added several custom action scripts on the "Confirmar" button. These scripts basically do an ajax save of the form values themselves, check for possible validations and forward to the next page.

I also added a hidden input field called "finished" that is set to 1 if the form has been completed.

In the record manager, you can see who updated what page, per day for this form.

This has been quite some work, but you can get from here basically to anywhere you want. If you need to add special fields like file uploads, the PHP in the Init. Script might need an update for example.

Hope this all reflects what you need.

File Attachment:

File Name: CheckSonido.zip
File Size:24 KB


Regards,
Markus
Attachments:
The following user(s) said Thank You: innacamb

Please Log in or Create an account to join the conversation.

Multiple Users, One Form 5 months 2 weeks ago #240509

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 803
Hi,

I didn't hear back from you if that's working out for you.

Regards,
Markus

Please Log in or Create an account to join the conversation.

Multiple Users, One Form 5 months 2 weeks ago #240512

  • Topic Author
  • innacamb
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 10
  • Thanks: 0
Sorry!!

It works perfectly! thanks.
My delay answering is that i was trying to find a way to delay form's reset at 6AM on next morning.
I was modifying initial script in query line:
Select * From  #__facileforms_records Where `name` = 'CheckSonido' And DATE(submitted) = CURDATE() Order By id Desc
If is =CURDATE() OR DATE(submitted)+1 INTERVAL 6 HOUR

this will be valid for my intentions?

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.055 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

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!