2006/6/29, Ferdinandus, Humphrey <[EMAIL PROTECTED]>:
> I am struggeling with the following: I have a form with input fields
depending on eachother. When changing one the others possible values should
change. I do this by submitting the form.

Part of the form is created using the fieldlist en fieldinfo tags (taken
from the my editors). I like to know how I can show the values entered in
these input fields when submitting the form. NOTE: a createnode is not
issued.

I'm not entirely sure what you are trying to do or why you are trying
it to do it like this. fieldinfo-tags (with type 'input', 'useinput')
are basicly meant to be used to edit mmbase fields, or create mmbase
nodes. So trying to use them for something else could prove to be
difficult.

Normally the input-boxes contain either the just posted value, or if
not available, the current value of the field in the node, or if no
node created yet, the default value of a new node. In 1.8 mm:form tag
can be used to create a node in an mmbase transanction which can e.g.
only committed if all field-values are valid (using mm:valid).

You can also read out the post yourself (e.g. with <mm:import), though
I don't recommend it (I feel that it is only garanteed that
mm:fieldinfo can understand it's own posts..), which I know that
people 've done. It's a bit ugly, but it would work.

It would perhaps also be a possibility to use javascript, by which you
also easily read and set form entries.

Soon, mm:fieldinfo will be changed to support mmbase 'datatypes' more
generally. How to provide generic support for interdepended fields,
even without actual mmbase nodes, I don't know though.



Michiel

--
mihxil'  http://meeuw.org
nl_NL eo_XX en_US
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to