top of page

ID-Check

CLOSE.png

DATABASE-INSIGHT

User-Email
User-Name
User-Lastname
User-ID
Aid-State
test5@mail.com
User-Name5
User-Lastname5
06637
Yes
test4@mail.fr
User-Name4
User-Lastname4
09834
No
test3@mail.ru
User-Name3
User-Lastname3
06537
Yes
test2@mail.com
User-Name2
User-Lastname2
07924
Yes
test1@mail.de
User-Name1
User-Lastname1
06498
No

Found-Data

OUTPUT

YES.png
No.png

Enter User-ID here.

Check

CODE

CLOSE.png

import wixData from 'wix-data';


 

$w.onReady(function () {

    //TODO: write your page related code here...

 

});


 

export function BTNcheck_click(event) {checkID()}



 

function checkID (parameter) {

    wixData.query("Check-ID")

    .eq("userId", $w('#TINPUT1').value)

    .find()

    

    .then( (results) => {

        if(results.items.length > 0) {

        let firstItem = results.items[0]; 

        let items = results.items

    //---------------------------------------

        console.log(items[0].userEmail)

        console.log(items[0].userName)

        console.log(items[0].userLastName)

        console.log(items[0].userId)

        console.log(items[0].aidState)

    //---------------------------------------

        $w('#BOXoutput').show()

        $w('#IMGyes').hide(), $w('#IMGno').hide()

        if(items[0].aidState===true) {$w('#TXToutput1').text = "No-Found-Data.", $w('#TXToutput2').text = "Yes, this person received aid from us.", $w('#IMGyes').show()}

        else {$w('#TXToutput1').text = "Found-Data.", $w('#TXToutput2').text = "No, this person did not receive aid from us.", $w('#IMGno').show()}

 

    //  setTimeout(()=>{$w('#BOXoutput').hide(), $w('#IMGyes').hide(), $w('#IMGno').hide()},3000)

 

        

 

        } 

        else {console.log($w('#TINPUT1').value)

            if ($w('#TINPUT1').value==="") {$w('#BOXoutput').show(), $w('#TXToutput1').text = "", $w('#TXToutput2').text = "Please enter a ser-ID."}

            else {$w('#BOXoutput').show(), $w('#TXToutput1').text = "", $w('#TXToutput2').text = "Please enter a valid user-ID."}

        

        }

    setTimeout(()=>{$w('#BOXoutput').hide(), $w('#IMGyes').hide(), $w('#IMGno').hide()},2000)

    } )

    .catch( (err) => {

        let errorMsg = err;

    } );

    $w('#TXToutput2').html

}




 

export function BTNcode_click(event) {

    if ($w('#BOXcode').hidden===true) {$w('#BOXcode').show()}

    else {$w('#BOXcode').hide()}

}

 

export function IMGcode_click(event) {$w('#BOXcode').hide()}

Comment-Box

CLOSE.png

Version-1.0

Under_Construction.png

Leave a comment. . .

Arrow.png

General-Settings

ON                 OFF

Show Text-Length

ON                 OFF

max. Text-Length

ON                 OFF

Show Key-Press

ON                 OFF

Show Key-Code

ON                 OFF

Show Total-Count

Character-limit

Load default settings
Save
lestherg-esilverconnect 2:52:59 AM
8/20/2022
s18376 1:07:58 AM

asdas

1/20/2022
s18376 1:03:31 AM

asdas

1/20/2022
arthurvalatin 00:15:21

he he heeeeeeeeeee!

30/12/2020
arthurvalatin 00:15:03

undefinedha ha haaaaaaaaaaa!undefined

30/12/2020
arthurvalatin 00:14:48

My little joke!

30/12/2020
arthurvalatin 00:14:14

really real

30/12/2020
o0oelys 17:55:55

real

23/09/2020
russian-dima 18:49:20

123231

2.9.2020
russian-dima 18:49:17

213213

2.9.2020
russian-dima 17:56:10

123123123

2.9.2020
russian-dima 18:48:04
31.8.2020
russian-dima 18:46:47
31.8.2020
russian-dima 18:46:10

Here you can see my link to googhttp://www.google.de target=_self>www.google.dele.......

31.8.2020
russian-dima 18:45:34

Here you can see a LINK ---> myLinktoGoogle

31.8.2020
russian-dima 14:19:38

rrrrrrrrrr

31.8.2020
russian-dima 14:18:28

qeeeqweqweqwe

31.8.2020
russian-dima 14:01:12

awddawdawd

31.8.2020
russian-dima 13:58:53

23123213

31.8.2020
juanfelipeamt 7:46:31 PM

I tried to change my picture. :)

8/25/2020
juanfelipeamt 7:43:57 PM

Hellooooo

8/25/2020
mr-money-man 13:41:23

As you can see, i changed my PIC (of the test-user --> mr-money-man)

25.8.2020
mr-money-man 13:40:45

Hello!

25.8.2020
russian-dima 18:59:25

You are still not a member of my site? So it is time to change it xDDDDDD

24.8.2020
russian-dima 18:58:02

If you want to write a comment, than you have first to log-in!

24.8.2020
russian-dima 17:58:34

New logo? ^^

22.8.2020
russian-dima 17:58:16

You again xD

22.8.2020
arthurvalatin 16:19:33

Hi

21/08/2020
mr-money-man 00:30:40

As you can see in this version, i tried to implement more functions. You will fi
nd the first ones, when you go into sthe OPTIONS-MENU.

8.8.2020
mr-money-man 00:29:32

It is much more comfortable. ^^

8.8.2020
Page 1 of 2
Design
Settings
About
CLOSE.png
Leave a comment, or start a chat.

Post-Comment

- - -

Pressed-Key

- - -

Key-Code

Text-Length

- - -

max. Text-Length

- - -

Number of Comments

- - -

designed & developed by russian-dima

Write a comment
bottom of page