Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Form validation and RIA

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Form validation and RIA
 Login/Join
 
Guru
posted
OK, I've applied an RIA theme to my HTML forms, and it's gorgeous (Ocean rounded is the only one that I like).

First, I updated an HTML form that prompts for a bunch of parameters, and it had a lot of javascript code in it to validate dates, etc. I noticed that the RIA-ized form dropped all of the javascript. So, I tried to copy and paste the javascript from my original form. A lot of it didn't work right away, and I had to do some tweaking. Next thing I noticed is that when you hit the submit button, it runs the fex even if the edits fail. What's going on here? The original worked fine.

I saw that down in the area where webfocus puts in all of the RIA junk, it has something like "submitstr=OnExecute(this)". I was able to change that to "submitstr=form1submit_onclick(this)" and my edits seemed to work and not submit the form, but I know that we're not supposed to modify the generated code. Does anyone have any tips on the correct way to do this? I'd post my code, but it's all broken right now. Somehow it ate up a lot of the code and I'll have to re-do it on Monday. Have a great weekend. I know I won't.

This message has been edited. Last edited by: <Kathryn Henning>,


Webfocus 8
Windows, Linux
 
Posts: 258 | Location: Palm Coast, FL | Registered: February 05, 2010Report This Post
Gold member
posted Hide Post
Hi Mike

Applying an RIA theme may not be the best thing to do. Very few people used the RIA themes and the division is stabilizing the RIA themes. The issue with the RIA themes is that all the tags and names have to be change when converting to RIA and you cannot go back which is a maintenance issue.

In my opinion the biggest advantage with RIA is the styling. You maybe able to make your reports look like RIA by use of CSS files and putting controls around controls and style the controls with shades of color. Best of luck

You can always open a case with tech support and ask for Barry and I will try to help you.


WebFOCUS 8103, Windows, App Studio
 
Posts: 80 | Location: NYC | Registered: November 13, 2008Report This Post
Guru
posted Hide Post
I managed to solve it myself. If I remember correctly, I just removed the form itself, keeping all of the fields and the button. I was then able to get the javascripts to execute when they should. Thanks.


Webfocus 8
Windows, Linux
 
Posts: 258 | Location: Palm Coast, FL | Registered: February 05, 2010Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Form validation and RIA

Copyright © 1996-2020 Information Builders