diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/scrn-fld.lua')
-rw-r--r-- | Master/texmf-dist/tex/context/base/scrn-fld.lua | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/context/base/scrn-fld.lua b/Master/texmf-dist/tex/context/base/scrn-fld.lua index 439de13b3f5..275fb4a9b39 100644 --- a/Master/texmf-dist/tex/context/base/scrn-fld.lua +++ b/Master/texmf-dist/tex/context/base/scrn-fld.lua @@ -8,6 +8,9 @@ if not modules then modules = { } end modules ['scrn-fld'] = { -- we should move some code from lpdf-fld to here +local variables = interfaces.variables +local v_yes = variables.yes + local fields = { } interactions.fields = fields @@ -40,7 +43,7 @@ commands.definefieldset = defineset commands.clonefield = clone function commands.insertfield(name,specification) - tex.box["scrn_field_box_body"] = insert(name,specification) + tex.box["b_scrn_field_body"] = insert(name,specification) end -- (for the monent) only tex interface @@ -59,6 +62,12 @@ function commands.getdefaultfieldvalue(name) end end +function commands.exportformdata(export) + if export == v_yes then + codeinjections.exportformdata() + end +end + function commands.setformsmethod(method) codeinjections.setformsmethod(method) end |