XForms 1.1

base64binary serializer and de-serializer

Hello,
We have something like the below in our submissions,..Is there a way to serialize the instance "instMktSubmit" as canonicalized base64binary. Like wise we would like to know if it is possible to de-serialize an XML element containing base64binary back to the source data. Please let us know.

xf:action ev:event="xforms-submit"
xf:setvalue ref="instance('instMktWS')//ReqData" value="fp:Serialise(instance('instMktSubmit'), false(), true())" /xf:setvalue
/xf:action

Regards
Nirmal

Formsplayer 1.6.1029 cab file

Hello Paul,

Currently our customers are downloading Formsplayer 1.6.1029 from your website. In the production environment they wouldn't have access to internet and hence we need a way for the customers to download the cab file from our server so that when they visit the page for the first time it would be downloaded without going to your website.

Please let us know how this can be done and also we would require the cab file for 1.6.1029. Please provide us this file or the link from where we could download it.
(We had the 1.4 version downloaded from our webserver..If the procedure is the same then all we need is the cab file for 1.6.1029)

david_dupont73's picture

How to use Constraints attribut of the xf:bind for a xf:time dataType

Hi, i would like to limit the range of the xf:input control which was typed as "xf:time" like this

...
<xf:bind id="bnd-globalDuration"
nodeset="globalDuration"
type="xf:time"
constraint=". >= '00:00:02' and . <= '02:00:00'"/>
...
<xf:input id="globalDuration" bind="bnd-globalDuration" ...>
...

the constraint definition doesn't work.
So, I try to use seconds-from-dateTime() function inside the constraint like this:

constraint="seconds-from-dateTime(.) >= 2 and seconds-from-dateTime(.) <= 7200"/>

But this doesn't work yet because my data are typing as a xf:time and not xf:date.

So, how can i do to resolve my problem?

david_dupont73's picture

".invalid .value" styling overlap ".pc-focus .value" styling

I use xf:select1 and xf:input componment in my formular which are binding on required="true" attribut.
I have a specific styling (pink color) on this invalid componment.

.invalid .value
{
background-color:#FF9999; /*#DDDDFF;*/
}

Moreover, I use pc-focus styling to identify the current field which has the focus.

.pc-focus .value
{
background-color:#316AC5;
}

When the current field is a required field, the required styling overlap the pc-focus styling.
It's very boring for the user because this one thinks to have loose the focus.

certain submission options erroneously default to post

Hi,

We have an instance loading problem on our main form when using build 1.5.4.1019. It looks like nothing is loading...
See attached screenshots for a comparison 1.5.4.1019 vs 1.5.4.1004 (which is all fine).

Please let me know if I can send you any info that might be helpful for your investigations. Regards,

Guillaume

IE error with some specific cases : "Error opening registry key"

Hi,

We have found an error using last build 1.5.4.1019 in some specific cases. But you have to know that we managed to reproduce this error using 1.5.4.1004 build! The message says :
Line : 46
char : 2
Error : error opening registry key
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\formsPlayer".
Code : 0
URL : http://IP_address_we_gave_you/easyvalue/Admin/WebUI/AdHocAdmin.aspx

See the screenshots to be able to reproduce the case :
- step 1 : click on a link
- step 2 : it pops-up a bubble. Close it, without checking or un-checking anything
- Step 3 : click on another link
...
--> repeat steps 1, 2, 3 and you'll finally get to step 4 with the error. It should happen quickly

Let me know if something is not clear. Regards,

Guillaume

Mark Birbeck's picture

Implement the XForms 1.1 submission method element

XForms 1.1 provides a way to set the submission method at run-time. Details from the specification are here. There is also a more detailed explanation with examples, here. The tests that need to be passed are here. (In the test suite they are driven by TestXForms11SubmissionMethod.)

power()

number power(number, number)

Raises the first argument to the power of the second argument, returning the result. If the calculation does not result in a real number, then NaN is returned.

Examples:

power(-1, 0.5)

returns NaN.

if (prin>0 and dur>0 and rate>0, prin*rate/(1-power(1+rate, -dur)), 0)

returns a compounded interest payment value given a non-zero principal (prin), duration (dur) and periodic interest rate (rate).

More examples.

xforms-submit-serialize event needs implementing

The XF1.1 xforms-submit-serialize event has not been implemented yet.

Test form is atached.

.pc-hover doesn't works in trigger controls

The css pseudo-class hover doesn't works on a trigger control. The next code has no style effect over the buttons:

xf\:trigger.pc-hover
{
border: 1 black solid;
background: #FFDDA6;
}

In other versions of formsplayer, this css code work without problems. (I don't know what version I had installed previously to the ActiveX control update... I'm sorry)

Thanks in advance and best regards.