I am calling the GetTagList block but am not getting any data from it. I am redesigning my login page for my app and I am able to create a new user with the same name as an existing user. The GetTagList block is part of the process to check for that but is not giving me any data. Here are some blocks..
I'm calling it early on because I read in other posts that it can take time. Placing it in the page INIT should give it plenty of time as the user fills out the form.
Here are the blocks for creating a new user and saving the data..
You are right, It doesn't really serve a purpose. I am going to be saving the new user data regardless if the list is empty or not. I will remove that. But it was telling me that the GetTag wasn't working.. what about that issue?
Check you Project Bucket is set to Users before you call the taglist
The double slash is not required
See below examples of storing data to firebase using the firebase component and the web component.
It really does all depend on how you want to work with firebase, use AI2 lists or firebase lists.
Wow,, that was easy. I defined the bucket right before the call to the TagList and now it works. I dont know why I didnt think of that.
Here is the new INIT
Also ABG mentioned the double slashes to me in a previous incident he was helping me on. I just now removed them and it still works fine.. thanks to the both of you.
Yeah I did in my app but I am doing something wrong. I am trying to compare the passwords in a login routine but I am not getting a value when I try to pull it.. let me get some blocks to show you
Yes it is. I was under the impression that when the GetValue event is executed, the next thing that happens is the GotValue event.. like a gosub. After the GotValue the flow would return and the next thing to happen would be my If/Then for the password comparison. I guess this is not the case?
LOL.. I just saw your lst post. I am reading it now.
In a post or two above, I show that the bucket is set in the Page Initialization event so its already been set. I just set it again before the GetValue event like in your example but still no data.
Is my logic bad? If the bucket has been set then does the tag need to include "Users" instead of just "currentUser/Password"