tSelection with multiple forms so now using framework but has problems to
Ok i was trying to have like 3 form fields on a same page i was getting this error showthread.php?t=15153
I followed the recomendation on that post to use Framework builder to insert each of the forms, so far things worked good, until i test them with dynamic data, i have a page that has articles and another that has recipies for cooking each of them arfe called by dynamic variables example:
article.php?ID=3&CAT=1
or
recepie.php?ID=77
on those pages i have 2 forms made each with css formbuilder ones is for comments of the articles or recipies and the other one is to send the page by email like a recomend or tell a friend, the problem is that calling the forms with the framework builder on submit they lose the variables they where at, even when i add the complete route on data assist insert (article.php?ID=<?php echo ((isset($_POST["articulacion"]))?$_POST["articulacion"]:""); ?>&mechada=comenta) using a hidden field with a capture of GET or even adding a recordset to fill it with the id of the article, so i check and see that form builder adds the action to:
action="<?php echo $_SERVER["PHP_SELF"]; ?>"
with this each time i submit it looses the ?ID=XX
throwing back a page with not article on it cause it can't find it article.php with nothing else no get variable or anything, if i delete the <?php echo $_SERVER["PHP_SELF"]; ?> it does not even find the article .php file just throws me to the main folder, what solution can i use so that after submiting any of those forms it takes me back to the orginal link i was on?
The only thing that has work so far is action="<?php echo filter_var($_SERVER['HTTP_REFERER'], FILTER_SANITIZE_STRING); ?>" but i get a very nasty WCS· validation error with that also it seems to fail on the real server but works on my local pc.
Any advice on how to make these 2 cssform builder and framework builder work together as they should not to complain but i remeber with addt i never had this issue before please losing hair with this lol help :confused: