Validate Data in Web Form

we want to validate data in web form in planning through Java Script Code ?
how we can do it and what is the location of that Java Script file ?
One more thing ... if we make any changes in Java Script code then is it necessary to stop and start planning server or application ?
Thanks in Advance ..... :-)

Hi,
you can resolve this problem, adding a JavaScript code in validateData.js.
For example you can change and/or insert the code in validateForm function, that save the data only if the function return true.
There are also another function and the code example in SampleValidateData.js that you can see.
You find the ValidateData.js in the folder "custom" of your installation.
For example:
/default web application directory/deployments/your web server/HyperionPlanning/webapps/HyperionPlanning/custom
I report an example for control the data before saving it:
function validateForm(){
if (equalsIgnoreCase(applicationName,"BDG"))
if (equalsIgnoreCase(formName,"1.10A ECO"))
var rowPrecVers = currentDataGrid.endRow;
var colPrecVers = 2;
var rowActVers = 3;
var colActVers = 3;
var valTotPrecVers = 0;
var valTotActVers = 0;
valTotPrecVers = currentDataGrid.fullPrecision[rowPrecVers][colPrecVers];
for(rowActVers; rowActVers < currentDataGrid.endRow; rowActVers++){
valTotActVers = valTotActVers + parseFloat(currentDataGrid.fullPrecision[rowActVers][colActVers]);
if(valTotPrecVers < valTotActVers){
alert("Ops!!!Don't match" + "\n"
+ "Previous Version: " + valTotPrecVers + "\n"
+ "Actual Version: " + valTotActVers);
valid = false;
return valid;
else{
return valid;
Insert and modify this code in validateForm function.
If in your installation use Tomcat web server, you must save the change on the ValidateData.js file each time. If you use the WebLogic web server tou must restart the service. For other web server I don't know.
Take it easy and have fun!!!
Flavio

Similar Messages

  • Updating data in Web Forms

    Hi,
    I would like to know if it's possible to update data in web forms :
    * periodically (every 10 seconds for examples)
    * from the server (in a trigger or something like that) for all clients connected
    Thanks

    Taz,
    for the first a timer could do that. The second is not possible without having asynchrous message support in Forms. There are plans for such a feature but its not yet implemented
    Frank

  • HFM - log that shows if a user has loaded data via web form or excel load.

    I can see any data loads that are coming from FDM, but is there a log that shows any data entered into HFM via web forms or submitted through an excel file? Any input is appreciated.
    Thanks

    You could enable Data Audit to capture data changes made by users, though this will not capture which method users chose to change the data. That is, HFM can show that data changed, and who changed it, but cannot tell whether the data was changed through a form, grid, smart view, or FDM. If you want to prevent users from changing data through forms, grids, or smart view, you can secure those input methods, but you cannot capture which one is used.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Regarding Isuue in entering data in Web Form

    Hello,
    I am using Hyperion Planning 11.1.2 and i am trying to insert value in web form but when i enter value in Level 0 cells , except one cells all values are saved and that member is stored and is implied share of parent member.

    Hi,
    That is most probably an implied sharing problem. See below:
    Re: Data save issue in Planning
    Cheers,
    Alp

  • Allocating data in Web Form

    Hello All-
    I have a data form which have accounts in row and periods in column. For my month Jan , Feb i have actuals numbers and the member YearTotal shows me the sum of the 2 periods & is dynamic calc. However on the same form i have months march to december which are open for forecasting and have all yellow cells as users can input data. Now i want users to input data in year total and allocate back to open months that is March to december on web form. As my year total has number and is dynamic calc it is marked green. How can i provide this utility to users without changing year total member from dynamic to store.
    Please advise!
    Thanks!

    Hello John-
    Yes that did the trick just verifying if there is a way where in i can show users all the periods and yeartotal and have them input the data?? If i select Idesecndants(YearTotal) it gives me Quater members as well in between is there a way where in i can avaoid quater members and just show the level 0 periods and year total ??
    Thanks!

  • How to email data from web form?

    I need some direction please. I have created a web page (.htm) that has several textboxes, a submit and clear button. The purpose of this web page is for users of the company intranet to input data into the textboxes and then clicking on Submit will email the data to those responsible for filling the user’s request. The web page will be served up on the company’s intranet using the Apache web server that is running on Solaris 10. It seems to me that I will need an email server, but I do not know what Sun program to install and how to configure it. Thank you for any guidance you can provide.

    You need an amp (apache2, mysql, PHP/Python) stack - that's exactly the kind of thing they're for. I have the exact setup you're describing at my job. I set up an intranet server where the secretaries could input client information, and then hit "submit." If they didn't fill out the form correctly, it complains at them and makes them do it over, otherwise it emails the form data to me and I input it in our database.
    Php has a mail function that uses the system mailer (most likely sendmail?)
    See here:
    http://www.w3schools.com/php/php_mail.asp
    Edited by: John_2.0 on Mar 6, 2009 9:23 PM

  • Validate dates in oracle forms

    Hello everyone. I have a field column in my form , ORDER_START_DATE.
    The date format is DD.MON.RRRR
    Now I want to add a validation to this field and I know you have least allowed value as a field property.
    I want to make sure the least allowed value is SYSDATE, but sysdate using the format DD.MON.RRRR. That is, today should be the least allowed value excluding the hour or minute.
    Can anyone help me to achieve this in oracle forms?
    Thanks a lot.

    $$DATE$$+1 would not work because its a system-variable you can take (copied from forms-help):
    any valid constant form item (:block_name.item_name)
    global variable (:GLOBAL.my_global)
    form parameter (:PARAMETER.my_param)
    Means you need to put the value that should be checked for in a block.item/parameter/global variable.

  • How to update MD in Web-Form

    Hello, gurus!
    Does anybody know it is possible to update master data in web-form?
    I mean, in web-form there is a function which changes texts in characteristic, and I want to update these texts in analysis item in the same form. The only solution I found was reentering in this form. It is very inconvenient.
    May be some magic spells exist to refresh MD directly in form?

    Hi Pavan,
    I am getting PDF form properly in browser with no values in the fields as it should be. And i have provided one User entered field, When user enters sales order number in that field and presses the submit to sap button other fields rerlated with sales order status information should be displayed with the values related with that sales order number. But after pressing Submit to SAP button i didnt get values in other fields.
    Method for Submit to SAP button is also called properly. Even i can see the status information in fields outside the PDF form in Browser.
    So, parheps i think that whenever PDF form loads first time in browser, at that time it shows the values in the context variable. But after first load nothing is changed in that PDF form evenif the context values are changed.
    Is it true?
    Regards,
    Bhavik

  • Getting error while tring to Check in any document in Sharepoint 2007. Error - "Unable to validate data. System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) ...

    Hi Team,
    I am getting error while tring to Check in any document in Sharepoint 2007. Error - "Unable to validate data. System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength).
    Anybody please let me know how to resolve the issue. It has affected our 9 site collection with almost 2000+ sites. Please email me your your suggestion or you can share your ideas here also.
    Tried to reset the IIS, checked the Internet connection speed (8MBps). Cleared the cache and all but no luck.
    Thanks,
    Pronob

    Hello,
    I have found this support window for you:
    http://support.microsoft.com/kb/556031
    http://technet.microsoft.com/en-in/library/cc298582%28v=office.12%29.aspx
    This may help you
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Question about data extraction from web forms

    I am developing a simple web form in DreamWeaver MX for
    increased accesibility for users who utilize screen reader
    software, as navigating PDF forms is still currently very difficult
    for most of the screen readers to navigate. I was wondering if
    there is a way to take an .asp webform that a user fills out and
    when they hit a print button it would extract the data from the
    form and open an Adobe PDF form and populate the data they entered
    into specific fields within the PDF form which would allow them to
    print an official copy of the form they used the web version to
    complete. Any insight into this possibility is greatly appreciated!
    Thanks,
    AU PSD

    Regex? Lots of indexOf? Parsing...

  • How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection

    How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection.
    I have a multiple rows on PDF form. All rows have 4 textfields. I want to submit the multiple rows data to a method defiened in webservice.
    Unable to retrieve the data in multiple rows within webservice method.

    Hi Paul,
    I'm now able to save the retrieved xml in a hidden text field and create dynamic table, and I'm able to fill this table from the XML, but the problem is that I could not find the correct way to loop on the xml, what I'm trying to say, the table will have number of rows with the data of the first row only, so can you tell me the right way to loop on the xml!
    this is my code
    TextField1.rawValue=xmlData.document.rawValue;
    xfa.datasets.data.loadXML(TextField1.rawValue, true, false);
    for(var i=0; i<count; i++)
    xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Num").rawValue = xfa.datasets.data.record.num.value;
    xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Name").rawValue = xfa.datasets.data.record.name.value;
    Table1.Row1.instanceManager.addInstance(true);
    Thanks
    Hussam

  • One section data of adobe form is not read by web dynpro code

    Hi,
    I am facing problem in adobe form integrated with web dynpro. Form is having Java script. There is a section in the form related to settlement rule of wbs. It can be added in the form by pressing add record button.
    When I use this form offline and press add record and one section is added. I fill the data in those two section and upload on the portal to process online data in the second section is not reaby the code whereas in the first section is present there.
    But if the same activity is performed online data is properly read by the code.
    Could you please assist if there is any issue of saving data in the form offline and how it is handled in offline form.
    Thanx..

    Hi ,
    Try this.
    I think  you have corresponding context node is in the WDP. using  'APPEND INITIAL LINE TO'  just add  some blank data to the context. .
    Inside the form, create a table  for the context node. so at  run time all the empty entry will be displayed. Make this Table as hidden.
    Create another  Table that will display all the non empty row from  the above hidden table. When ever  we add / delete rows, the corresponding entry will update the hidden table. or else you can update the  hidden table on the click event of SUBMIT .
    Hope  this will help you.
    Regards ,
    Shaira

  • Date picker css not showing in web form

    Hi there, I have a web form and added the date picker.
    When you try this within BC admin it displays very nicely, yet when Ive inserted the webform in the html page,
    the css styling for the date picker is not included.
    Can anyone help me here so that I can add the css to style the calendar to look a bit prettier!
    The source code of the datepicker:
            <label for="CAT_Custom_95263">Date of last vaccination</label>
            <br /><input type="text" name="CAT_Custom_95263" id="CAT_Custom_95263" class="cat_textbox" readonly="readonly" style="background-color:#F0F0F0;" onfocus="displayDatePicker('CAT_Custom_95263');return false;" />

    Hello VickiTuch,
    The date picker, once loaded, will get a bunch of inline styles applied to it from BC. This can override your CSS if you are not specific enough.  If you give your declarations an important:
    #datepicker{
        background-color: #333 !important;
    Should override their inline styles.
    Hope this helps,
    Chad Smith | http://bcgurus.com/Business-Catalyst-Templates for only $7

  • Data loading in Hyperion Web Forms

    Hi,
    I am new to Hyperion Planning technology.
    I have few doubts regarding Meta data and data loading.
    I am aware that we can load data into Essbase cubes and see it from Web Forms.
    Can we load data directly into webforms?
    Can we load meta data into essbase? or loading meta data through HAL to hyperion planning application?
    I understand that we can load data into Essbase and not clear whether we can load data into Hyperion Planning and also metadata..
    I request you to clarify me this asap.
    Thanks alot in advance for your help..
    Regards,
    Upendra.

    Hi,
    To answer some of your questions :-
    Can we load data directly into webforms?
    {color:#ff0000}The data in webforms is pulled directly from essbase, you can load the data into essbase or enter through the webforms or use something like Smartview.{color}
    Can we load meta data into essbase? or loading meta data through HAL to hyperion planning application?
    {color:#ff0000}If it is a planning application then the metadata has to go into planning first and is then pushed down to essbase, you can enter metadata directly into planning or use ODI or HAL (if you are licensed to use it) or if your brave then EPMA.{color}
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Suppress Missing Data not work in web form with formula column inside

    Dear All,
    I've a planning web form with formula column inside to calculate the variance and % variance. But missing cell can't be suppressed, although I've checked the 'Suppress Missing Blocks' and 'Suppress Missing Data' options.
    Anyone have face the same problem..?? and how to fixed it..??
    thanks.
    Regards,
    VieN

    There is a known issue that sounds like the problem you are experiencing
    10358200 - If a formula column exists in a data form, selecting the Suppress missing option does not hide rows that do not contain data.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • MacBook Pro, Snow Leopard and Exchange Server

    My wife is considering a MacBook Pro for her business (we have one at home). At her work they have Exchange Server. With our home MacBook Pro I have been able to connect to her Exchange server through Entourage. (however I think her Exchange server i

  • ICal + Exchange 2007 Recurring events issue

    When creating a recurring event in OUTLOOK (on Windows) the following happens in my iCal. 1. The first instance is placed at the right time and day. 2. The first recurrence happens at the right time on the FOLLOWING day. 3. Remaining recurrences happ

  • CAT 2 WBS Element drop down

    Hi, Could anyone please tell me, how could i fulfill the following requirement. When a user enters his/her time sheet he/she only wants to see the WBS elements which they are assigned to and not all in the drop down list. Best Regards, Roville

  • Recording desktop activity for use in FCP

    Greetings, I need to record about a minute of desktop activity (browsing the internet on Safari) for a piece I am doing. I tried using one program that records desktop activity and converts it to a quicktime file but the finished product was no where

  • My InDesign

    Hello, In InDesign CC, how do I change the language from German to English? I have downloaded the creative cloud, installed the programs and now they are all in German. I did not see a function to select English. Many thanks, almartin000