Results 1 to 2 of 2

Thread: Updating existing data with form generator

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

    Frage Updating existing data with form generator

    Hello,

    I'm using "Form Generator" to let frontend user insert some data into the website. This is working very well.

    Now the question is : "frontend user want to update the data time to time", is there a way I can reuse the "Form" not for inserting but for updating ? For exemple by passing "id=x" before opening the form?

    Thanks
    Last edited by iteration.info; 04/25/2017 at 11:43.

  2. #2
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default

    Generally Contao offers no FE editing. Nice idea with the ID. Please try and tell what happens.

    You have to code the FE editing by yourself. You can use the hooks to jump into the formular send process. You can use the models e.g. NewsModel to CRUD your data.
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

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
  •