Questions regarding update of data with CC

mozart 17 Mar, 2009
First of all, I would like to thank everyone for the many articles in the forum from which I've learned so much about working with CF and CC!
But now has come the point where help is needed.

I'm developing an application which allows therapists as registered users to fill in a form offering their courses. Because these courses have to be approved, I'm using CC to allow the appropriate person of the commission to edit necessary fields before allowing the course to be published at the public frontend. The approval (yes/no), the reason 'why not', the date and the name of the person approving I would like to save to the same database table.

To this end I have set 4 hidden fields at the end of the registry form which save default values into the table.
<INPUT type="hidden" name="RadioJ" value="ok">
<INPUT type="hidden" name="kommbegruendung" value="0">
<INPUT type="hidden" name="date_3" value="0">
<INPUT type="hidden" name="kommname" value="0">

In CC I'm using Front End edit and fetch these fields in this way:
<table>
  <tbody>
    <tr>
      <td>Eintrag der Fortbildungskommission</td><TD></TD>
    </tr>
    <tr>
      <td>Diese Fortbildung wurde:</td><TD></TD>
    </tr>
    <tr>
      <td><INPUT type="radio" name="RadioJ" size="1" value="anerkannt" />Anerkannt</td><TD></TD>
    </tr>
    <tr>
      <td><INPUT type="radio" name="RadioJ" size="1" value="nicht anerkannt" /> Nicht anerkannt, weil</td><TD><INPUT type="text" name="kommbegruendung" size="30" maxlength="30" /></TD>
    </tr>
    <tr>
      <td>am <input type="text" name="date_3" size="15" />[Format: tt.mm.jjjj]</td><TD>von <INPUT type="text" name="kommname" size="30" maxlength="30" /></TD>
    </tr>
  </tbody>
</table>

These get shown perfectly with the default values. Unfortunately any changes made to these fields are not getting saved back to the database table. (UPDATE ...)

That is the first question.

If I go thru the admin backend to edit the form, I also get to see the fields in question, but WITHOUT the default values and also no update to the database table.
That's the second question!
All other fields (and there are a lot of them) get updated properly.

Has anyone any good ideas on how to come to terms with this?

Many thanks in advance.....
This topic is locked and no more replies can be posted.