Forums

Uses values submitted from Connectivity Edit

Legalruler 20 Aug, 2011
Hi,

In Connectivity in the frontend i click on "edit record". Then i get my form with the already submitted data. When I press the submit button the form goes back to Connectivity. In connectivity i would like to use the just submitted values in php. (How) Can I do that?

something like $_POST["name"]? (tried that but it returns nothing, maybe someone has some tips?)

the form used for edit has a onsubmit code to display the send data, but this one is ignored.
GreyHead 21 Aug, 2011
Hi Legalruler,

What are you actually trying to do here? You probably need to take some extra action to make the data available.

I don't use the ChronoConnectivity {edit_record} links as tht seesm to lose some functionality. Instead add a direct form link and set the form to redirect back to the ChronoConnectivity listing. If you want to pass data back and forth you can either do it by adding to the URLs, or by saving to the User Session.

Bob
Legalruler 21 Aug, 2011
Hello Bob,

I tried to make the link directly from Chronoforms, because I saw you say it in other answers, but could not get the fields repopulated from the database.

I solved this problem just now with the redirect plugin from Chronoforms and redirect it to the Connectivity page with the needed value.

What im trying to do is make a evaluation form that people can re-edit and can get back to with their own unique code (and re-edit again if needed). These are specific people we ask to fill out the form. I dont want to do this with user, cause I want it to be anonymous and the code is generated in another form where we automaticly send an email with this code and a basic empty record is made.

Legalruler
GreyHead 21 Aug, 2011
Hi Legalruler,

That sounds like a good solution.

Bob

PS I use the Profie Plug-in with the Edit option set to re-load data. Once the settings are correct it works OK.
This topic is locked and no more replies can be posted.