473,729 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

xforms: How do you make dynamic?

1 New Member
I currently have an xform where I'm trying to have the user input first and last name and then when it submits it goes to a file with the path first_last.xml.

Here is what I have currently:

Expand|Select|Wrap|Line Numbers
  1. <xforms:model id="patientModel">
    <xforms:instance id="patientInstance">
    <patient  xmlns="">
    <fname></fname>
    <lname/>
    </patient>
    </xforms:instance>
    <xforms:bind id="fNameRequired" required="true()" nodeset="my:fname"/>
    <xforms:bind id="lNameRequired" required="true()" nodeset="my:lname"/>
    <xforms:submission id="submit02" method="put" action="concat(aname,lname,'.xml')" />
    </xforms:model>
  2.  
  3. <body>
    <xforms:xform>
    <xforms:lable>First Name</xforms:lable><xforms:input bind="fNameRequired" id="fname" ref="my:fname"></xforms:input>
    <br/>
    <xforms:lable>Last Name</xforms:lable><xforms:input bind="lNameRequired" ref="my:lname"></xforms:input>
            
    <xforms:submit submission="submit02">
    <xforms:label>Submit</xforms:label>
    </xforms:submit>
    </xforms:xform>
    </body>
any suggestions?
May 21 '07 #1
1 1730
dorinbogdan
839 Recognized Expert Contributor
Hi,

Did you succeed to solve your problem?
If not, please let me know.
If yes, feel free to share it, to help other members with similar questions.

Thanks,
Dorin.
May 29 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1785
by: Jonathan | last post by:
Does anyone know if it's possible to do the following: I currently have an XML schema set up, part of which includes an enumerated datatype (based on string) giving a list of values that I want for a particular element. Is there any way to bind this to a 'select' or 'select1' element in XForms without having to list out all the choices again on the XForm: in other words it needs to grab the values straight from the schema. Any help...
0
1306
by: Victor Engmark | last post by:
I am quite new to XForms, but I need to do a feasibility study to see whether a system I'm supposed to make can be done without any scripting or programming language (to make it simple and not need any installation except for an Xforms reader). The problem is, from what I've read, I cannot find clear answers to whether XForms can do everything it will need to... The challenges are as follows: - One input.xml file is generated by...
2
3622
by: Will | last post by:
I have been having problems validating an XForms document against the XForms schema located at http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd. I have reduced the XForm to its bare bones as follows: <?xml version="1.0" encoding="iso-8859-1"?> <xf:model xmlns:xf="http://www.w3.org/2002/xforms"> <xf:instance xmlns=""/> </xf:model>
0
3401
by: arti | last post by:
Hi all. I have a problem/question with XForms. I have 2 instnace in my document, instance1 and instance2. <xforms:instance xmlns="" id=instance1"> .... </xforms:instance> <xforms:instance xmlns="" id=instance2">
0
961
by: Ben Kim | last post by:
Hello all, Does anyone know of a good XForms plugin that works with VB.NET 2005? We are creating a project which each state has different requirements for incident/accident reporting. This application has to be dynamic and if there is a change to a form, we just want to redistribute the XForm file if possible. Also if we venture into a new state, we would like to be able to design and distribute the new form(s). Ideas?
9
2377
by: jazzslider | last post by:
I have a headache. I've done a LOT of research lately into XForms, and I am thoroughly convinced that a good implementation of this technology would help me immensely in converting my department's paper forms into interactive online systems. There are a couple of problems I'm facing that I'm hoping someone here could help with. Number one: browser support for XForms is pitiful, and I can't expect my target audience to download...
7
2119
by: ClarkePeters | last post by:
Can anyone tell me why my CSS style sheet isn't styling my xhtml (using xforms)? I'm using firefox 1.5.0.8 with the xforms extension. Here is the xhtml, it's only a single text area for input. <?xml version="1.0" ?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <link href="zstyle.css" rel="stylesheet"/>
2
1486
by: li72 | last post by:
Hi. I’m new to XForms society and struggling with a basic concepts. However, I’m trying to transform an xml doc into XForms using XSLT. The browser renders the Xforms just fine but there is no effect to bind element. For instance the third UI control should be rendered as a calendar because its type is xs:date However, I got a normal input box instead. Also property required= “true()” has no effect. Any help is much appreciated. Here is my...
0
1030
by: li72 | last post by:
As you can see in binding part, the node<age /> should be returned as a calendar or any form of date picker instead of an input box. In addition, none null values submission is not achieving. I defined this problem as a binding issue but I find no clue to solve it. Moreover, this example is tested on X-Smiles and firefox with plug-in as well. Your help is much appreciated Here is my xhtml doc. <?xml version="1.0" encoding="ISO-8859-1"?>...
0
8917
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8761
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9281
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8148
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6722
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6022
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2680
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.