How best to make an edit link for a large form

MaestroC 07 Feb, 2015
I am totally confused and hope someone can set me in the right direction. I originally posted a similar question in the Chronoforms forum but I think I need to go here as this is specific to CC...

I have a very large form with dozens of inputs, some with dozens of choices in checkboxes or dropdowns. It was made in CF5 and works great. You can see it here if desired:
http://www.wmachineregistry.com/index.php/registry-list/car-registration-form


I have also created a list view to show all the records in the table using CC5. You can see it here:
http://www.wmachineregistry.com/index.php/registry-list/car-list

My problem is the edit link to allow the same user that created the record to then edit it and save the changes. I started to create the edit form in the CC FrontList>Actions>Edit box but I can't figure out how to put the multiselect items in there. For example, right now this is what I have for the start of the edit form code:

Year:<input type="select" name="carList[year]" /><br>
Body Style:<input type="select" name="carList[bodyStyle]" /><br>
Factory Exterior Color:<input type="select" name="carList[color]" /><br>
Transmission:<input type="select" name="carList[transmission]" /><br>
<input type="hidden" name="carList[id]" /><br>
<input type="submit" value="Save" /><br>


But each of those items is a dropdown in the form. How do I make the dropdown populate with the options?

I am aware of the possibility of using dynamic dropdowns and something with a $form-data thing but the thought of doing so is even more confusing to me right now (I don't have a clue how to set those up) and I think I just want to do it manually here if I can. Can I? Is there some way to put <option> values into this edit form easily?
GreyHead 07 Feb, 2015
Hi MaestroC,

I'm not clear that you need to rebuild the form in CC. You can keep that in CF and use the Edit link in CC to open it up and re-load the saved data. I think that Max has a FAQ here for that.

Bob

PS Sometime is is helpful to use a slightly different form for edit than originate. It depends if there are parts that shouldn't be edited.
This topic is locked and no more replies can be posted.