Results 1 to 2 of 2

Thread: "Personal data" data form and update info

  1. #1
    User
    Join Date
    06-19-09.
    Location
    Elbl?g, Poland
    Posts
    152

    Default "Personal data" data form and update info

    Hi all,

    On one of my page I have "Personal data" module. There is nice form for each user with their data. Updating "Personal data" working fine. But after update data via "Personal data" form - page only reload and no feedback like "Your data has been update" or anything. I know it's normal behavior but for some reason I need some information that data has been updated. Actually I need this feedback as trigger for some javascript events after update this form.
    Is it possible at all?
    Marcin

    http://www.contao.pl - Polish Support Site
    http://forum.contao.pl - Polish Contao community forum


    -----------------------
    Need custom template? Feel free to contact me by e-mail marcin@contao.pl

  2. #2
    User
    Join Date
    06-20-09.
    Posts
    115

    Default Re: "Personal data" data form and update info

    Hi qrczak,
    I was actually searching for some other answer (how to turn more fields in 'Personal data' into mandatory fields....UPDATE found it: http://www.typolight.org/forum/message/4809.html) but stumbled upon your question. Here is what I did to solve my 'your data has been updated' issue, I'm not a programmer, just a simple web coder, so my methods are simple

    Module 'Personal data' has option to 'Redirect page' after submitting form. So I made another page under my 'Personal data' page. I selected the new page as my redirected page .

    Make the new page not visible in menu (hint: one of the option fields) and make the following elements:
    - Header element (in my case h3) 'your data has been updated' issue'
    - Article element linked to original 'Personal data' article. (it makes an alias to the original article)

    the message 'your data has been updated' now appears on top over the original 'Personal data' form after you press submit and you seem to stay on the same page

    hope this help and it's not too late.
    geung

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
  •