I have set up a form for submitting articles
- I am using a modified submit_article action with published config param disabled, sectionid=2, no cat selected
- amongst others I am using a radio buttons element for the state field. here the default value is set to 1 (yes)
while posting data is working fine (state change from 0 to 1 and vice versa is working)
I am running into a prob when editing articles:
if (state=1) the yes radio is selected
elseif (state=0) no radio is selected
I cannot really test on another radio as while so far I have 11 forms this one is my only radio. thus I tried it with a select box: option 0 (no) triggers the validation message (pls select value)
looks like option 0 is considered as 'no value' with both elements and that seems to require an additional config param to allow enabling option 0 as value. option 0 is not only used for boolean fields but also for uncategorized section / category in category / section select lists
J!1.5.23 CF 4 RC 2.0
p.s.: the addarticles form is set up to only allow for modifiying existing files.
index.php?option=com_chronoforms&chronoform=addarticles redirects to listarticles form displaying a system error
to view the addarticles form open the listarticles form and follow any of the edit links ('bearbeiten')
- I am using a modified submit_article action with published config param disabled, sectionid=2, no cat selected
- amongst others I am using a radio buttons element for the state field. here the default value is set to 1 (yes)
while posting data is working fine (state change from 0 to 1 and vice versa is working)
I am running into a prob when editing articles:
if (state=1) the yes radio is selected
elseif (state=0) no radio is selected
I cannot really test on another radio as while so far I have 11 forms this one is my only radio. thus I tried it with a select box: option 0 (no) triggers the validation message (pls select value)
looks like option 0 is considered as 'no value' with both elements and that seems to require an additional config param to allow enabling option 0 as value. option 0 is not only used for boolean fields but also for uncategorized section / category in category / section select lists
J!1.5.23 CF 4 RC 2.0
p.s.: the addarticles form is set up to only allow for modifiying existing files.
index.php?option=com_chronoforms&chronoform=addarticles redirects to listarticles form displaying a system error
to view the addarticles form open the listarticles form and follow any of the edit links ('bearbeiten')