So attempting to build a settings page and show a conditional text field to input values. Using a checkbox and example from demos and docs at
http://piklist.com/user-guide/tutorials/conditionally-show-fields/
The checkbox is basically to “Enable”, but it seems like Piklist zeros out the text field whenever the checkbox is unchecked, even before the page is saved, so if you click checkbox and input something then uncheck and check again, the value is gone.
Is there no way to keep the values in the text field? It’s not removing the element it’s just hiding it on the page (through jquery) but for some reason is removing all values.
I even tried using the “update a field” from demo, but that didn’t work either as the conditional statements are placed inside the radio/checkbox and not the text field like for showing or hiding.
Would it not be better to have the conditional fields set in the checkbox just like it is for updating?
Any thoughts or suggestions on this? Guess for now I just wont hide the fields ..
Thanks!