Jump to content
  • 0

Need to have login information auto-entered into new records


ekrueger

Question

I have a datapage that is protected in a folder and limited by a field called username, which is linked to my applications user table. Caspio is asking the user to log in to enter a record into this datapage, so I know that Caspio knows who the user is. In order to protect the records that the user creates, I would like to have the username field auto-populated with the users username. I would have thought that this would automatically happen so that every record this user enters would only be available to them. How can I get this field to auto-populate with the users login information?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi,

You said ''every record this user enters would only be available to this particular user". Do you mean that you are creating a datapage which should show only the information that is related to the specific user?? If yes, then you might want to use Record Level Security. http://howto.caspio.com/videos/getting- ... -security/

But I see you are also talking about auto populate the login information. If you want to auto populate login information to a datapage, then you can receive the parameter in that field as [@authfield:FIELDNAME] where FIELDNAME is the name of the field which holds your login information eg: [@authfield:username] where username is the name of the field from authentication table.

:)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...