insert new record using multiple form
Archived from the Xataface Users forum.
panjiws — Mon Jun 11, 2007 11:27 pm
Hi to all,
Again thanks a lot for 0.7 version of dataface it’s really helpful for me. I get a new problem when handling one table with more than 50 column. I want give user multiple forms (in one form I’ll put not more than 8 fields for entry) with a next button and at the end i provide save button to create a new record. is it possible for dataface to handle this? Thanks in advance..
best regards,
Panji
shannah — Tue Jun 12, 2007 12:40 pm
This is not supported in the current release.Ê However, I am currently knee-deep in the development of 0.8 which has vastly enhanced form features including the ability to create “wizards” like this.
If you are a PHP developer, you can also develop a custom action to do what you need.Ê The df_create_edit_record_form() function will create “edit forms” to edit a given record.Ê You can make it so that it only shows certain fields.Ê So making a wizard action is just a matter of keeping track of what step you’re on and showing only the fields that should be displayed at that step.
Some examples can be found at:
http://framework.weblite.ca/documentation/manual/api/dataface-public-api/df_create_edit_record_form
http://dataface.weblite.ca/df_create_edit_record_form
-Steve
panjiws — Thu Jun 14, 2007 6:37 pm
Hai Steve..
Thx again for your advice, let me try and hopefully it’s work, because almost 70% of my work now using dataface for UI, and it’s really powerfull
best regards,
Panji Wasmana