Forums

Assing value to previously defined field

Draw 01 Dec, 2010
Hi,

sorry to bother you all!
Chronoconnectivity has been working splendidly, however I've come across two issues that I can't seem to solve and am not finding the information on the forum as well.

1) I need to assign a fixed value of "Changed" to a field after using the {edit_record} option in Chronoconnectivity. However due to the way that it works, automatically it overrides my "Changed" value with the previous value the field had before clicking the edit button.
I've tried using the "after submit fields" but I fear that because of my limited PHP skills I'm missing something.

In short: how do I make this work:
<input value="Changed" id="hidden_8" name="Status" type="hidden" />

2) I want users to be able to upload a different picture if necessary.
The issue appearing here is that if they do not upload any picture after the {edit_record}, the existing entry is switched to "NO FILE". I've tried inputting the existing lcoation of the picture but have failed in doing so. Any hints?

Thanks in advance!
Daan
GreyHead 01 Dec, 2010
Hi Daan,

I'm tend not to use the {edit_record} feature of ChronoForms - I just link to the form instead. But it sounds as though the "Republish skip list" on the form General tab might help here?

Bob
Draw 02 Dec, 2010
Thanks GreyHead🙂

I tried fiddling with that a bit, however after 5 more hours I found out I just had to delete the " " around Changed. Ah well, lesson learned🙂

Any hints perhaps on dealing with the picture issue?

Thangs again for great support!
This topic is locked and no more replies can be posted.