English 中文(简体)
检测对一例以xxform 执行的动作
原标题:Detecting an action performed to an instance in xform
  • 时间:2012-05-21 15:12:17
  •  标签:
  • xforms

I would like to know how to detect if a user has made a change to any input field in a form. The reason for this is to enable a checkbox to save changes to a database. I would like to avoid writing triggers for each field. Is there a general why this can be done to the model instance, where it compares the instance loaded to the one updated by the user?

问题回答

如果您为所有输入控件以您的形式添加组元素,那么由于缓冲机制, xforms-value- changed 事件可以被它捕获。

-阿兰





相关问题
xform data grid

I am using orbeon to process my xforms. I am attempting to create a data grid that I can use to copy and paste rows/columns of data from my clipboard (excel). Do you have any clue how I can implement ...

Connect Chiba xForm to a restful web service (exist db)

I need to read an xml instance from an exist db. I am attempting to connect chiba to a restful web service via the following command: <xf:model> <xf:instance id="data-instance" ...

ISML PAC to XForm Conversion

Are there any tools or write-ups that can help in converting ISML PACs to XForms? Does anyone have experience in such a conversion?

XForms: how to deal with instance data that changes?

At the moment I am working on an XForms application to mutate XML data. This data comes from a local XML file. The file is exported from another application in a static way and read into the ...

Client side XForms processing tools [closed]

What would be the best client side javascript based XForms processor? I m trying to migrate plugin (activeX) based Xforms processing solution to a javascript based client side processor. But the ...

Default Values in XForms Input

I have an XForm that has certain fields that may often be left blank (optional street address). Is there is technique to set a default value for that field, preferably a space (I am running into weird ...

热门标签