Questions tagged [repopulation]
19 questions
0
votes
2 answers
How do I populate these fields from existing data?
I'm not sure how to make a few parts of my form to populate from data from an array I'm passing from the database.
First is this

dmanexe
- 1,034
- 4
- 16
- 40
0
votes
1 answer
How do I repopulate fields BEFORE validation is passed?
The fields I am making required to fill out, should repopulate the correctly filled out fields, while NOT submitting the form and posing errors for the incorrectly filled out fields. What is the best way to do that?
Please note that with this code,…

LightningWrist
- 937
- 4
- 20
- 37
0
votes
2 answers
CodeIgniter repopulate form from both session data & form validation?
I have a form with a couple search options, like a checkbox array and radio button. By using the form validation library I have the form repopulating after a submit, like so:
echo form_checkbox('check_track[]', '1', set_checkbox('check_track[]',…

xref
- 1,707
- 5
- 19
- 41
0
votes
2 answers
Repopulating hidden fields with CodeIgniter Form Validation class
I am stuck how to repopulate a hidden field in a form after an unsuccessful form validation.
The repopulation uses set_value() function to print out the chosen value for other fields, but with the hidden field, there is already something printed in…

Gurpreet Singh
- 153
- 1
- 3
- 14