hide fields in post
-
I am looking your calculated fields form in a website with bread-recipes. General setup is the same, but depending on the recipe I want to use different (ingredient) fields. I use the following code to set values for the individual ingredients. What would be your advise if I wanted, for example, omit/hide fieldname5 from the form?
Thanks,
Chris<script>
cpcff_default = { 1 : {} };
cpcff_default[1][ ‘fieldname6’ ] = 13; //aantal broden
cpcff_default[1][ ‘fieldname10’ ] = 80; //deeggewicht
cpcff_default[1][ ‘fieldname13’ ] = 63; //hydratatie
cpcff_default[1][ ‘fieldname3’ ] = 0; //bloem
cpcff_default[1][ ‘fieldname5’ ] = 0; //water
cpcff_default[1][ ‘fieldname7’ ] = 0; //zout
</script>The page I need help with: [log in to see the link]
The topic ‘hide fields in post’ is closed to new replies.