Repeaing group with outside button

hi
i have repeating group with user name and date : hour : minute : sec .
also i have button outside
i want when click this button then print the current user name and date … (who click the button ) on repeating group without storage or use database . just action …
this repeating group is visible on all users page and appear the list of users who click the button and last one click on the button .
regards

Hey, so there is not going to be a way to do this without involving the database. That’s kinda the purpose of a database to store this kind of data.

Without involving the database, whatever a user does on a page is going to be cleared the moment they close the browser tab, navigate to a new page, hit refresh or whatever. There is also no way for another user to know what another user is doing without having their actions recorded in the database.

Is there a reason why you just wouldn’t use the database to store this?


Josh @ Support Dept
Helping no-code founders get unstuck fast :rocket:save hours, & ship faster with an expert :man_technologist: on-demand

thanks of your support !
just better to do not use database because dont need to store any data . so if just for apply this function i search a solution to apply without storage .

i really cant understand what you typed.

i want when click this button then print the current user name and date … (who click the button )

So, when click, it ONLY PRINT 1 USER’s Name & DATE?
then how it was related to the Repeating group?

For me, if what you wanted was, when User X click “The Button”, Print User X’s name & Date

multiple way to do this, ( NO NEW DB record involved )

  1. Go to New page ( print_name_page ), with sending DATA in URL
  2. in the Print_name_page, read data from URL(the name and date), and display in an element.
    Print. Voila.

– without new page, just download any plugin allowed you to PRINT only the specific element.

You definitely need to use database for this to function properly. However there’s a way of doing part of this using custom states. However everything will ‘delete’ the moment user refreshes the page.

So if you can share some more details about what you’re trying to achieve vs how, then I’m happy to propose an alternative. But if I make some assumptions, I can assume:

  1. You have a repeating group filled with staff profiles
  2. You want to create a clock-in type system where staff can record that they’ve started the shift
  3. You don’t want to store this in the database because you just want to know staff have started work and at what time on that day, but you don’t need to otherwise review the data later therefore the reason to not want to store it in the database

Scenarios

a) The only scenario where this works is if every staff is using the same computer at the start of the shift, and they would need to first select their name and then record the timestamp that they started the shift. You can achieve this with custom states without the database, or store it locally within the browser (but it would only be accessible by that browser).

b) If the staff are using different computers / are in different locations - then I can guarantee you that there is no way to achieve this without the database or by using a third-party service.

However, I really would advise against implementing scenario A as it’s not going to save you any time really but you’re setting yourself up for failure. i.e. if anyone was to refresh the page, click back/forth with custom states then you will lose the data. So if you have 10 staff that day and 9 record their time and then the 10th staff member accidentally closes the browser then you lose all of that data in the case of custom states. If you store it locally in the browser, it would still be there but I really don’t understand why you would do that as it’s more work then using the build-in database.

If your only reason to avoid using the database is because you don’t want to pay for the personal plan and know you’ll hit the 200 record limit on the free plan - then I think you should consider the time and energy you’ll waste coming up with an elaborate but lacking solution to avoid the subscription and just buy the subscription. But if you really must avoid it then you can always build a workflow that deletes that days data a the end of the day/week or whatever so you don’t exceed the limit.


Josh @ Support Dept
Helping no-code founders get unstuck fast :rocket:save hours, & ship faster with an expert :man_technologist: on-demand

This topic was automatically closed after 70 days. New replies are no longer allowed.