insert new record using multiple form

A place for users and developers of the Xataface to discuss and receive support.

Postby 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
panjiws
 
Posts: 2
Joined: Wed Dec 31, 1969 5:00 pm

Postby 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
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby 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
panjiws
 
Posts: 2
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 20 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved