Results 1 to 3 of 3

Thread: Form Generator

  1. #1
    New user
    Join Date
    12-27-12.
    Posts
    16

    Default Form Generator

    Hello

    I have a form created with the Contao Native form generator. Working well. I should just also store in the db the "member id" that is submitting the form, so I will know how is submitting this request. How can I send the "logged member id" of a member submitting a form?

    Thanks

  2. #2
    New user cliffen's Avatar
    Join Date
    10-18-13.
    Location
    L├╝neburg
    Posts
    22

    Default

    Hi,

    for an easy solution you can use a hidden field with a default value "{{user::id}}". But be careful, this is not secure, because the value can be modified via Developer Tools.

    Regards, Cliff
    Extensions :: Github :: No support via PM.

  3. #3
    New user
    Join Date
    12-27-12.
    Posts
    16

    Thanks

    Quote Originally Posted by cliffen View Post
    Hi,

    for an easy solution you can use a hidden field with a default value "{{user::id}}". But be careful, this is not secure, because the value can be modified via Developer Tools.

    Regards, Cliff
    You saved me ! it's working, thanks a lot

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •