If I set constraints on the input boxes of a form the buttons are disabled while a red exclamation mark is displayed. In the example below the button with an M on it (to be changed later) is for selecting the origin or destination from a map instead of typing it in the box, I want these buttons to work without entering anything in the box, I only want the GO button disabled. Is there any way to do this ?
Richard Shaw ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤ Richard Shaw
Atkins Highways and Transportation
Tel: +44 (0) 1372 756407
This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding. ole0.bmp (56K) Download Attachment |
Richard,
does this help? http://www.orbeon.com/blog/2006/08/04/xforms-tip-creating-a-configurable-error-summary/ http://www.orbeon.com/blog/2006/05/24/xforms-tip-enabling-and-disabling-your-save-button/ Henrik On 10/31/06, Shaw, Richard A <[hidden email]> wrote:
ole0.bmp (55K) Download Attachment |
In reply to this post by Shaw, Richard A
No that doesn't help.
My problem is that the user can press the M button at all
times (as I want) but OPS will not process the action if there are errors on the
page. I want the button to be processed because it is going to help the user
remove the errors on the page (i.e. allow them to select an origin or
destination from a map in this example).
Thanks
Richard Shaw ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤ Richard
Shaw
Atkins Highways and
Transportation
Tel: +44 (0) 1372
756407 From: Henrik Pettersen [mailto:[hidden email]] Sent: 31 October 2006 23:55 To: [hidden email] Subject: Re: [ops-users] Override disabled buttons does this help? http://www.orbeon.com/blog/2006/08/04/xforms-tip-creating-a-configurable-error-summary/ http://www.orbeon.com/blog/2006/05/24/xforms-tip-enabling-and-disabling-your-save-button/ Henrik On 10/31/06, Shaw,
Richard A <[hidden email]>
wrote:
This message has been scanned for viruses by MailControl ole0.bmp (49K) Download Attachment |
Richard,
What does the M button do? a submission? If so
have you got validate="false" on your submission, this will make sure OPS
ignores all the validation errors
Ryan
Ryan
Puddephatt
ole0.bmp (44K) Download Attachment |
Administrator
|
In reply to this post by Shaw, Richard A
Shaw, Richard A wrote:
> No that doesn't help. > > My problem is that the user can press the M button at all times (as I > want) but OPS will not process the action if there are errors on the > page. I want the button to be processed because it is going to help the > user remove the errors on the page (i.e. allow them to select an origin > or destination from a map in this example). The first question to answer is: are you happy with the fact that your input fields are marked invalid (because I think that the question mark is related to the input field, not the button). If not, that's the first issue to solve. If you are still happy with that, the second question to answer is what do you do (what actions do you execute) when the user presses a button? -Erik -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Shaw, Richard A
Thanks - that was exactly what I wanted - easy when you
know how.
Richard Shaw ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤ Richard
Shaw
Atkins Highways and
Transportation
Tel: +44 (0) 1372
756407 From: Ryan Puddephatt [mailto:[hidden email]] Sent: 01 November 2006 10:04 To: [hidden email] Subject: RE: [ops-users] Override disabled buttons Richard,
What does the M button do? a submission? If so
have you got validate="false" on your submission, this will make sure OPS
ignores all the validation errors
Ryan
Ryan
Puddephatt
ole0.bmp (40K) Download Attachment |
Free forum by Nabble | Edit this page |