Try to republish on dynamic fields

rocknroad 20 Oct, 2010
I have a multipage form with a set of dynamic fields:

<input  name="price[dynamic_name_of_product]" value="3.50" id="price" type="hidden" />
<input  name="price[dynamic_name_of_product]" value="1.50" id="price" type="hidden" />


When i go back from my summary page to correct some entries, all fields are republished correctly instead of the dynamic fields. They all have empty values (value="").

Ist it possible to republish dynamic fields? If not, ist possible to exclude this fields from repblishing? Can i enter wildcards in the "Republish skip list" like price* or price[] (i tried both but without success)?

How does the republishing work, is it Serverside or JavaScript?
GreyHead 26 Oct, 2010
Hi rocknroad,

The RePublish is a PHP search and replace on the Form HTML so dynamic inputs won't be picked up. You'll need to hand-code the republish values for those either with PHP in the Form HTML or using JavaScript depending on how they are generated.

Bob
This topic is locked and no more replies can be posted.