XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Six

Option Four Option Four seems quite convoluted, but is essentially a simple principle. We use server-side javascript in the beforePageLoad event to set viewScope variables for each of the radio button, check box and list box mandatory questions we want to check against. We then use the onClick event to trigger a partial refresh and …

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Six Read More »

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Five

Option Three is a modification of Option Two, which reproduced the client-side validation available for other XPages controls, with a javascript alert. At this point I should add some background to the application I was working on. The application in question is a major upgrade of our enterprise feedback tool, EFT, which added in Dojo styling, used …

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Five Read More »

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Four

Update I’ve now got everything working, got answers to my last blog post, and worked out the various Domino version differences affecting this all. So before I continue with Option 3 and Option 4, here’s an update on where we are. Option 1 used the out-of-the-box server-side validation for radio buttons, check boxes and multi-value …

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Four Read More »

XPages: Validation for Radio Buttons – 8.5.1 Issue

 First of all, apologies for not making further progress on the validation tutorials. Prior to a customer meeting, I was doing a final review of the mixture of client-side and server-side validation I implemented, and found problems. It looks like 8.5.1 may be able to address this, so watch this space. So as a fall-back …

XPages: Validation for Radio Buttons – 8.5.1 Issue Read More »

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Two

 In Part One we saw that the XSP.attachValidator function threw a javascript error, and that adding a required validator does not allow you to customise the message. However, with a little bit of scripting it is still possible to use XSP.attachValidator. Option Two: Add Scripted Validators First, a couple of basics. Whereas the required validator uses server-side …

XPages: Validation for Radio Buttons, Check Boxes and List Boxes: Part Two Read More »

Scroll to Top