Importing data: programmatically submitting forms
Hello, It has been question a lot about programmatically submitting forms. I am still unsure about how FAPI2 makes this possible. Is there already a module using this possibility? I couldn't find any documentation. I am using a module to import data, and I need to push this data into a simple story node (what if it were a custom node type?). I also need to add a few taxonomy terms associated to that node. I also want to create some forums /containers automatically. Is there some code (or even pseudo-code) snippets that I could learn from? thanks, Augustin. -- http://www.wechange.org/ Because we and the world need to change. http://www.reuniting.info/ Intimate Relationships, peace and harmony in the couple.
I just found eaton's mail "Forms API II: Return of the Chx (you really need to read this)" dated 19.08.2006 which has most / all the information I may need. If you know of other resources, let me know. thanks, augustin. -- http://www.wechange.org/ Because we and the world need to change. http://www.reuniting.info/ Intimate Relationships, peace and harmony in the couple.
Augustin (Beginner) wrote:
I just found eaton's mail "Forms API II: Return of the Chx (you really need to read this)" dated 19.08.2006 which has most / all the information I may need.
If you know of other resources, let me know.
thanks,
augustin.
the formatting is screwed up on the web, but the minimalist docs are at http://api.drupal.org/api/HEAD/group/form. is easier to read the top of form.inc where this comes from.
On Tuesday 05 September 2006 02:54 am, Moshe Weitzman wrote:
Augustin (Beginner) wrote:
I just found eaton's mail "Forms API II: Return of the Chx (you really need to read this)" dated 19.08.2006 which has most / all the information I may need.
If you know of other resources, let me know.
thanks,
augustin.
the formatting is screwed up on the web, but the minimalist docs are at http://api.drupal.org/api/HEAD/group/form. is easier to read the top of form.inc where this comes from.
Thanks a lot, Moshe. For the record, in case someone else is looking for the same information, I have also been told:
Also, the FAPI2 interface has changed since the original "return of the chx" e-mail- don't attempt to follow that example method (I wasted a couple hours trying).
Blessings, Augustin. -- http://www.wechange.org/ Because we and the world need to change. http://www.reuniting.info/ Intimate Relationships, peace and harmony in the couple.
participants (2)
-
Augustin (Beginner) -
Moshe Weitzman