Hi guys.
I’m using this category to show my progress from my new app.
I hope you guys like it.
How it works :
- User select any number from inlist
- Those numbers are added to History tab
- With option in inlist has it own row number.
- With option has a timer. With user has some hours to complete the payment before those selected numbers expire.
#1 Inlist with options.
Here i got into a problem, row numbers.
When you have google sheets you have a option using row() function.
So as a counter-measure I have to find a way to get those numbers automatically.
How I did it?
- Added a ROWID to which row item.
- Added a LOOKUP column, related to which ROWID at that specific glide table.
- Added a ARRAY > FIND.ELEMENT.INDEX column : here I get numbers starting from zero(0).
- Added a MATH column, here I sum the previous result (index) + 1.
RESULT :
#2 Get selected INLINE LIST option to a different glidetab.
There are some tuturials, but i couldn’t understand much.
How I did it:
- Added a DATE/TIME column: One at NUMBERS table, another at HISTORY table.
- Added a RELATION column in between those glide tables.
- Added a TEXT column: here I used an ACTION to write USER.ID from USERS glide table.
- Used a ACTION to write to HISTORY table using selected option from INLIST LIST.
#3 SELECTED OPTION FROM INLIST
- After selection, the number is not listed.
- The green button appear.
- Added a RICHTEXT BOX with css at all those tabs: Here I hidden the top, where the user had access to the MENU.
Since I not using a FORM at the button, I built another TAB. Which I occult it at MENU tab.
<pre><span><style>
[id="tabBar"]{
display: none;
}
[data-test="glide-app-bar"] :nth-child(1) {
display: none;
}
#app-root div[opacity='1'] {
color: transparent;
}
#4 SHOPPING CART TAB
Here is a simple GLIDE tab.
- Added a SWITCH at the top.
- Added some TEXT ENTRY fields, IMAGE PICKER and a HINT at the bottom.
The SWITCH is for the user to see different DATA, I don’t like to be so full of infos at a single screen.
The other DATA using the SWITCH was a boolean to show…
- Count of how many numbers were selected.
- Which numbers the user selected.
- Price by number.
- How much your purchase was.
- Added two buutons:
- ACTION, CLIPBOARD to copy the PIX key.
- FLOATING button to GO BACK to the previous screen.
- Also a HINT, so the user can know how things work.
Hello @firozkhanuk1214, I will post it soon.
I have being modifying it, so for now its not in working order.