Crafted eCommerce Template

Crafted Joomla eCommerce template for kids store and baby shops
Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

forms as booking option with limit only for first 20 subscribers, possible?

1 week 2 days ago #1

  • Qbik's Avatar
  • Qbik
  • Posts: 326
Is there any way to do that?
all I want is to prepare form that work only for for example first 20 subscribers - persons that fill it and send it, after that 20 it will be disable

1 week 2 days ago #2

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 17540
Hello,
Thank you for contacting us

Unfortunately there is no such possibility

Best Regards,
Vyacheslav, Balbooa Support Team

1 week 1 day ago #3

  • Qbik's Avatar
  • Qbik
  • Posts: 326
ok I try to use option like in hotel theme and also there all I missed most is option to set limit in forms in hotel theme for example that I had 10 rooms for 3 persons ;) think about that.

Right now all I can do is to ask db of forms entry with id of direct form and when is reach 20 it will add class to change form status, maybe You can give me some advice to help me with that or maybe there is another solution?

1 week 1 day ago #4

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 17540
Hello,

We have made an example of the form, you can download it from the link.
drive.google.com/file/d/1p_icEkbRuUiNlGI...iGn/view?usp=sharing
You need to change the name of the form at the default value (it should not contain "and ' ).
And customize the conditional logic according to your need


Regards,
Vyacheslav, Balbooa.com

1 week 1 day ago #5

  • Qbik's Avatar
  • Qbik
  • Posts: 326
thx, it works great without JS :)

1 week 1 day ago #6

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 17540
You are welcome ;)

1 day 1 hour ago #7

  • Qbik's Avatar
  • Qbik
  • Posts: 326
ok maybe You have solution for one more think that I need,

possibility to set in calendar date after which we block possibility to fill / send form

so for example today we have 17 of June
and we want that form block at 22 of June on 12:00

1 day 1 hour ago #8

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 17540
Hello,


You need to use for the default value
[SQL query = SELECT NOW()]



And create conditional logic
which will hide the submit button if the value is greater (date format 2021-06-17 10:21:56)

Best Regards,
Vyacheslav, Balbooa Support Team

1 day 1 hour ago #9

  • Qbik's Avatar
  • Qbik
  • Posts: 326
great, works super

thx a lot

1 day 1 hour ago #10

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 17540
You are welcome ;)
Powered by Kunena Forum