PDA

View Full Version : Element Names


mamamia
07-10-2007, 06:42 PM
Is there a way to keep the element names unmodified by Fabrik? For example, if I create a hidden element called "storename", it gets renamed to "jos_fabrik_formdata_1___storename" in the generated source code of the page.

I am trying to post to an e-commerce site using the CURL option, and certain elements must exist in the POST parameters. If Fabrik changes the names of the elements, then the CURL option is really useless.

Please help.
mamamia

andrelewis
07-10-2007, 11:36 PM
You can reconstruct the correct URL using CURL, and grabbing the values from the form elements. If you dig around on the forum you might be able to find some examples of getting variables in the PHP code section of the Form. The reference for Curl can be found here:

http://www.php.net/curl

And you should be able to use any of the standard CURL functions if your server has enabled CURL

Andre