Send page data as postback parameters

46 views
Skip to first unread message

Behrad Zari

unread,
Jul 18, 2012, 6:50:36 PM7/18/12
to zotoni...@googlegroups.com
How can I send page input values in a postback action? considering I have a text field and a button with a postback,
how can I send my textfield value to postback?  (If ignoring wiring a form, to a submit message.)

Marc Worrell

unread,
Jul 18, 2012, 6:59:27 PM7/18/12
to zotoni...@googlegroups.com
Hi Behrad,

Generally you should use a form for that.
You can also use Javascript to send an event back to the server.
That is what we use when we need ultimate flexibility.

You can read about it here:

http://zotonic.com/documentation/862/calling-zotonic-from-javascript


- Marc

Behrad Zari

unread,
Jul 22, 2012, 2:52:58 AM7/22/12
to zotoni...@googlegroups.com
Thank you Marc,
Reply all
Reply to author
Forward
0 new messages