Forms question - Error validation
Gurus,
I have a question .. Please suggest me a suitable answer .. I am using forms 6i, in which i have created a data block (which isnt associated with a table or any procedure), in which i have 3 items, custno (customer number), custname (customer name), toknno (token no)..Its a multi record block (displaying 10 records at a time) ..
Now when i enter value 1 in custno, ABC in custname, A1 in toknno items, and when i move to the next custno text item, if i once again enter 1 in the custno text item, immediately it should display a message stating that "value has been entered already" ... it should happen only for custno ...
One important thing is, i amnt saving changes to database .. I amnt marking the text item as a unique key (without marking as unique key in the property sheet), i should get the solution
Can any guru help me
Regards
Hi Here is the code...
May be it will be useful..
When-New-Form-Instance
DECLARE
rg_name VARCHAR2(40) := 'RG_EMP';
rg_id RecordGroup;
gc_id GroupColumn;
errcode NUMBER;
BEGIN
rg_id := Find_Group(rg_name);
IF Id_Null(rg_id) THEN
rg_id := Create_Group(rg_name);
gc_id := Add_Group_Column(rg_id, 'EMP_NO', NUMBER_COLUMN);
END IF;
errcode := Populate_Group_With_Query( rg_id,'SELECT EMPNO FROM EMPLOYEE ORDER BY 1');
END;
When-validate-Record
DECLARE
rg_name VARCHAR2(40) := 'RG_EMP';
rg_id RecordGroup;
gc_id GroupColumn;
errcode NUMBER;
the_rowcount NUMBER;
V_VAL NUMBER;
BEGIN
MESSAGE(' ');
rg_id := Find_Group(rg_name);
IF Id_Null(rg_id) THEN
--MESSAGE('rg not exist');MESSAGE(' ');
rg_id := Create_Group(rg_name);
gc_id := Add_Group_Column(rg_id, 'EMP_NO', NUMBER_COLUMN);
Add_Group_Row( rg_id, END_OF_GROUP );
Set_Group_Number_Cell( gc_id, 1, :EMPNO);
ELSE
the_rowcount := Get_Group_Row_Count( rg_id );
--MESSAGE('record count'||the_rowcount);MESSAGE(' ');
IF the_rowcount > 0 THEN
FOR I IN 1..the_rowcount
LOOP
V_VAL := Get_Group_Number_Cell( 'RG_EMP.EMP_NO', I );
IF V_VAL = :PARAMETER.P_EMPNO THEN
MESSAGE('DUPLICATE RECORD');MESSAGE(' ');
RAISE FORM_TRIGGER_FAILURE;
END IF;
END LOOP;
Add_Group_Row( rg_id, END_OF_GROUP );
Set_Group_Number_Cell( 'RG_EMP.EMP_NO', the_rowcount+1 , :EMPNO);
ELSE
Add_Group_Row( rg_id, END_OF_GROUP );
Set_Group_Number_Cell( gc_id, 1, :EMPNO);
END IF;
END IF;
END; Check it.....
One more thing is U need to check that Column data type .whenvever u r adding a column in Add group column check whether is it number_column and char_column like wise u should give and Same as in Get_group_number_cell and set_group_number_cell .
Similar Messages
-
Oracle + Unix question , Error validation for SQL statements in co process
Hi,
If I use co process in a shell script , what is the best way to do the error validation of the execution of any sql statements . I was trying to change the following code to make use of co process concept. When I tried echo $? after the execution of a "wrong statements"
it is still giving Zero output ( meaning success)
<<<<<<<<<<<<<<<<<<<<<<<<<<<
cat ${CFG_DIR}/srs_indx.lst | egrep -v '^#' | egrep -v '^[ ]*$' | while read x
do
echo " Processing values :: pre $pre tbl $tbl indx $indx tblspc $tblspc cols $cols param $param" >> ${LOGS_DIR}/srs_indx.log
sqlplus ${BIZSTG} << EOT >> ${LOGS_DIR}/srs_indx.log
set verify on timing on term on echo on feedback on serveroutput on
WHENEVER SQLERROR CONTINUE
drop index $indx;
WHENEVER SQLERROR EXIT FAILURE
alter session set query_rewrite_enabled = true;
create $pre index $indx on $tbl ($cols)
tablespace $tblspc
$param;
exit
EOT
RC=$?
if ( test $RC -ne 0 )
then
ERR_MSG="ERROR in creating index $indx for table $tbl from srs_indx.ksh of $ENVIR : $APP by `whoami`@`hostname` on `date` "
echo $ERR_MSG >> ${LOGS_DIR}/srs_indx.log
process_warning ${LOGS_DIR}/srs_indx.log
exitstat=1
else
echo "$indx created at `date`" >> ${LOGS_DIR}/srs_indx.log
fi
done
>>>>>>>>>>>>>>>>>>>>
Any help will be appreciated .
with thanks and regards
Ranjeesh K RHi,
Thanks for the response, I guess people misunderstood my question .
My question was about "error handling in case of CO PROCESS". For those who don't know about this, in case CO PROCESS you just need to login once to Oracle. In my above code It is logging in & out for each entry in the list. CO process statements may look Similar to SQL statements in pro*C. In PRO*C we use EXEC, but here print -p statements..
a sample is given for those who are new to co process.
sqlplus -s /nolog |& # Open a pipe to SQL*Plus
print -p -- 'connect user/password@instance'
print -p -- 'set feed off pause off pages 0 head off veri off line 500'
print -p -- 'set term off time off'
print -p -- "set sqlprompt ''"
print -p -- "select sysdate from dual;"
read -p SYSDATE
print -p -- "select user from dual;"
read -p USER
print -p -- "select global_name from global_name;"
read -p GLOBAL_NAME
print -p -- exit
echo SYSDATE: $SYSDATE
echo USER: $USER
echo GLOBAL_NAME: $GLOBAL_NAME
But I got stuck during error handling of these SQL statements, especially the $? / $* returns 0 even after an erroneus execution.
Regards -
Excel cannot open the new form. The Form contains schema validation errors.
i am running the approval workflow on a document library, while trying to open Excel
file i get the error.
Excel cannot open the new form. The Form contains schema validation errors.
Detailed error:
Element '{http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}Body' is
unexpected according to content model of parent element '{http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}SharePointListItem_RW'.<o:p></o:p>
Expecting: {http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}WorkflowLink,
{http://schemas.microsoft.com/office/inf....
neerajHi,
According to your description, my understanding is that when you are running approval workflow and opening the Excel file, then it will occur the error above.
For a better troubleshooting, I suggest you can try to create a new normal excel file and then run the workflow and open the file to test if it works. It will help to figure out if this is the file itself issue or the SharePoint issue.
Also, please provide some more detailed information such as screen capture, it will easier to find the root cause of the issue.
Thanks
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Using InfoPath 2013 browser enabled form.
I am getting the above error on ALL Infopath Designed Rich Text fields, where the "Cannot be blank" attribute is set.
To reproduce it, I create a custom list and custom list form with InfoPath 2013. I add 2 Rich Text fields and enable "cannot be blank". To raise the error, I put some data in the RT field. Skip to another field (so focus is changed and a postback
occurs), then back to original field to delete the contents (to raise the validation).
I originally thought it was associated with the HTMLCHKR.DLL not being registered (and I have re-registered it just in case), but the exception I get from the ULS logs reads (it is from a list AFTER I have re-registered the DLL):
There was a form postback error. (User: 0#.w|myDomain\jc, Form Name: Template, IP: , Request: h t t p ://MyWebApp/MySite/Lists/rtAfterHtmlCHkrReg/Item/newifs.aspx?List=2212ff41-77b4-445b-931b-d7e538c9da91&Source=h t t p://MyWebApp/MySite/Lists/rtAfterHtmlCHkrReg/AllItems.aspx&RootFolder=&Web=3db49106-bdca-47bb-b4cd-a549d2d86aa7,
Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2015-01-16T21:51:48:853Z, Type: InvalidOperationException, Exception Message: No content generated as the result of the operation.) 8cc5e09c-3665-903b-575a-faaac506c40a
I noticed that errors associated with the HTMLCHKR.DLL not being registered would have some sort of COM exception (example: TYPE_E_LIBNOTREGISTERED or REGDB_E_CLASSNOTREG)
I also should mention that this problem started happening about 3 weeks ago. We have extended the web application to handle HTTPS on the intranet zone (we had a reverse proxy project that did not eventuate) - would that cause something? How can I do further
checking?Hi,
I have done a test in my SharePoint, and I met the same issue with you.
I created a custom list and custom list form with InfoPath 2013. I added 2 Rich Text fields and enabled "cannot be blank". I put some content in the RT field, then delete the contents, I got the error message:"there has been an
error while processing the form."
Here is a similar post said that executing the command: regsvr32 "C:\Program Files\Common Files\Microsoft Shared\
OFFICE14\htmlchkr.dll" will solve the issue.
https://social.msdn.microsoft.com/Forums/en-US/eb2e0f6e-c8e4-4e92-ac5e-a09d72759eda/rich-text-field-error-in-webform?forum=sharepointcustomizationprevious
But I just disabled "cannot be blank", and it solved the issue.
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
First ever Web Form - URL error
Hi. I'm attempting to call my first Web form, but I'm getting this error:
URL:
http://springfield01:7777/forms/frmservlet?config=ttmsmenu
ERROR:
500 Internal Server Error
Forms Servlet Error.
Missing or invalid value for baseHTML parameter.
Please check the servlet configuration to make sure this value specifies a valid file.
My FormsWeb.Cfg file is posted below. Any help would be greatly appreciated!
FORMSWEB.CFG:
# $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $
# formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
# This section defines the Default settings. Any of them may be overridden in the
# following Named Configuration sections. If they are not overridden, then the
# values here will be used.
# The default settings comprise two types of parameters: System parameters,
# which cannot be overridden in the URL, and User Parameters, which can.
# Parameters which are not marked as System parameters are User parameters.
# SYSTEM PARAMETERS
# These have fixed names and give information required by the Forms
# Servlet in order to function. They cannot be specified in the URL query
# string. But they can be overridden in a named configuration (see below).
# Some parameters specify file names: if the full path is not given,
# they are assumed to be in the same directory as this file. If a path
# is given, then it should be a physical path, not a URL.
# USER PARAMETERS
# These match variables (e.g. %form%) in the baseHTML file. Their values
# may be overridden by specifying them in the URL query string
# (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")
# or by overriding them in a specific, named configuration (see below)
[default]
# System parameter: default base HTML file
baseHTML=base.htm
# System parameter: base HTML file for use with JInitiator client
baseHTMLjinitiator=basejini.htm
# System parameter: base HTML file for use with Sun's Java Plug-In
baseHTMLjpi=basejpi.htm
# System parameter: delimiter for parameters in the base HTML files
HTMLdelimiter=%
# System parameter: working directory for Forms runtime processes
# WorkingDirectory defaults to <oracle_home>/forms if unset.
workingDirectory=
# System parameter: file setting environment variables for the Forms runtime processes
envFile=default.env
# Forms runtime argument: whether to escape certain special characters
# in values extracted from the URL for other runtime arguments
escapeparams=true
# Forms runtime argument: which form module to run
form=test.fmx
# Forms runtime argument: database connection details
userid=
# Forms runtime argument: whether to run in debug mode
debug=no
# Forms runtime argument: host for debugging
host=
# Forms runtime argument: port for debugging
port=
# Other Forms runtime arguments: grouped together as one parameter.
# These settings support running and debugging a form from the Builder:
otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
# Sub argument for otherparams
buffer=no
# Sub argument for otherparams
debug_messages=no
# Sub argument for otherparams
array=no
# Sub argument for otherparams
obr=no
# Sub argument for otherparams
query_only=no
# Sub argument for otherparams
quiet=yes
# Sub argument for otherparams
render=no
# Sub argument for otherparams
record=
# Sub argument for otherparams
tracegroup=
# Sub argument for otherparams
log=
# Sub argument for otherparams
term=
# HTML page title
pageTitle=Oracle Application Server Forms Services
# HTML attributes for the BODY tag
# HTMLbodyAttrs=
# immediately hide the applet parent window
HTMLbodyAttrs=onLoad='javascript:self.moveTo(1601,1201)'
# HTML to add before the form
# HTMLbeforeForm=
HTMLbeforeForm=<SCRIPT LANGUAGE="JavaScript">window.opener = top;</SCRIPT>
# HTML to add after the form
HTMLafterForm=
# Forms applet parameter: URL path to Forms ListenerServlet
serverURL=/forms/lservlet
# Forms applet parameter
codebase=/forms/java
# Forms applet parameter
# imageBase=DocumentBase
imageBase=/forms/java
# Forms applet parameter
#width=1000
#width=100%
width=500
# Forms applet parameter
#height=700
#height=100%
height=500
# Forms applet parameter
separateFrame=true
# separateFrame=
# Forms applet parameter
splashScreen=no
#splashScreen=ttmslogo_new.gif
# Forms applet parameter
background=no
# background=
# background=ttmslogo_new.gif
# Forms applet parameter
logo=ttms_banner.gif
# Forms applet parameter
lookAndFeel=Oracle
# Forms applet parameter
colorScheme=teal
# Forms applet parameter
restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
# Forms applet parameter
formsMessageListener=
# Forms applet parameter
recordFileName=
# Forms applet parameter
serverApp=default
# Forms applet archive setting for JInitiator
archive_jini=frmall_jinit.jar
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
archive=frmall.jar
# Number of times client should retry if a network failure occurs. You should
# only change this after reading the documentation.
networkRetries=0
# Page displayed to Netscape users to allow them to download Oracle JInitiator.
# Oracle JInitiator is used with Windows clients.
# If you create your own page, you should set this parameter to point to it.
jinit_download_page=/forms/jinitiator/us/jinit_download.htm
# Parameter related to the version of JInitiator
jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
# Parameter related to the version of JInitiator
jinit_exename=jinit.exe#Version=1,3,1,22
# Parameter related to the version of JInitiator
jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
# Page displayed to users to allow them to download Sun's Java Plugin.
# Sun's Java Plugin is typically used for non-Windows clients.
# (NOTE: you should check this page and possibly change the settings)
jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
# Parameter related to the version of the Java Plugin
jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
# Parameter related to the version of the Java Plugin
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
# Parameter related to the version of the Java Plugin
jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
# EM config parameter
# Set this to "1" to enable Enterprise Manager to track Forms processes
em_mode=0
# Single Sign-On OID configuration parameter
oid_formsid=%OID_FORMSID%
# Single Sign-On OID configuration parameter
oracle_home=/apps/oracle9i/product/oracleforms
# Single Sign-On OID configuration parameter
formsid_group_dn=%GROUP_DN%
# Single Sign-On OID configuration parameter: indicates whether we allow
# dynamic resource creation if the resource is not yet created in the OID.
ssoDynamicResourceCreate=true
# Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
ssoErrorUrl=
# Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
ssoCancelUrl=
# Single Sign-On parameter: indicates whether the url is protected in which
# case mod_osso will be given control for authentication or continue in
# the FormsServlet if not. It is false by default. Set it to true in an
# application-specific section to enable Single Sign-On for that application.
ssoMode=false
# The parameter allow_debug determines whether debugging is permitted.
# Administrators should set allow_debug to "true" if servlet
# debugging is required, or to provide access to the Forms Trace Xlate utility.
# Otherwise these activities will not be allowed (for security reasons).
allow_debug=false
# Parameter which determines whether new Forms sessions are allowed.
# This is also read by the Forms EM Overview page to show the
# current Forms status.
allowNewConnections=true
# EndUserMonitoring
# EndUserMonitoringEnabled parameter
# Indicates whether EUM/Chronos integration is enabled
EndUserMonitoringEnabled=
# EndUserMonitoringURL
# indicates where to record EUM/Chronos data
EndUserMonitoringURL=
# Example Named Configuration Section
# Example 1: configuration to run forms in a separate browser window with
# "generic" look and feel (include "config=sepwin" in the URL)
# You may define your own specific, named configurations (sets of parameters)
# by adding special sections as illustrated in the following examples.
# Note that you need only specify the parameters you want to change. The
# default values (defined above) will be used for all other parameters.
# Use of a specific configuration can be requested by including the text
# "config=<your_config_name>" in the query string of the URL used to run
# a form. For example, to use the sepwin configuration, your could issue
# a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".
[sepwin]
separateFrame=True
lookandfeel=Generic
# Example Named Configuration Section
# Example 2: configuration forcing use of the Java Plugin in all cases (even if
# the client browser is on Windows)
[jpi]
baseHTMLJInitiator=basejpi.htm
# Example Named Configuration Section
# Example 3: configuration running the Forms ListenerServlet in debug mode
# (debug messages will be written to the servlet engine's log file).
[debug]
serverURL=/forms/lservlet/debug
# Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
# DS but not AS and is also available for download from OTN.
[webutil]
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle
[ttmsmenu]
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
baseHTML=webutilbase.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle
width=500
height=500
background=no
form=ttmsmenu.fmx# or by overriding them in a specific, named configuration (see below)
[default]
this line seems to start a named section that finishes nowhere.
comment this line (put a # in front of it)
FRancois -
Web template :Error Valid Data provider not assigned
Hello Friends we have the web template that was working before , we did the upgrade to SP13 from SP11.
It gives the error Valid Data provider not assigned and
Bad integer Parameter value of Parameter BLOCK_COLUMNS_SIZE of Object item:ANALYSIS_ITEM:ANALYSIS;
Please help where do i need to assign the Data provider beacuse the Values are same for Dataprovider as before
Portal Runtime Error
An exception occurred while processing your request
Exception id:
See the details for the exception ID in the log file.
Thanks
Soniya
Message was edited by:
soniya kapoorOpen the template in WAD and do a validation against the server and make sure the template is well formed.
Also make sure you apply BI JAVA Patch 1 for SPS 13. -
Mailto form with spry validation won't open in IE
Hi,
I've created a mailto: form using Spry validation fields and have two issues.
1. I create the form, transfer it to the webserver and the validation fields work. But when I reopen the form in Dreamweaver to make changes, an error window comes up saying that there are widgets that no longer exist and some of the fields have lost their validation code.
2. The form works fine in Firefox, but in IE, you click Submit, it brings up the email window, but the content is empty.
Any suggestions would be greatly appreciated.
Here is the code:
<form action="mailto:[email protected]" method="post" enctype="text/plain" name="review" id="review">
<p> <span class="style9">
<label><span class="style2">*</span><span class="style9">Title</span>
<select name="Title" id="Title">
<option selected>Mr.</option>
<option>Mrs.</option>
<option>Miss.</option>
<option>Ms.</option>
</select>
</label>
</span>
<span id="sprytextfield1">
<span class="style2">*</span>
<label><span class="style9">First name</span>
<input name="firstname" type="text" id="firstname" size="30">
</label>
<span class="textfieldRequiredMsg">A value is required.</span></span>
<label><span class="style9">Middle Initial</span>
<input name="middleinitial" type="text" id="middleinitial" size="5">
</label>
<span id="sprytextfield3" class="style9">
<span class="style2">*</span>
<label><span class="style9">Last Name</span>
<input name="lastname" type="text" id="lastname" size="30">
</label></span>
<p class="style2"><strong>STREET ADDRESS</strong></p>
<p>
<label><span class="style2">*</span><span class="style9">Street Address </span>
<input name="streetaddress" type="text" id="streetaddress" size="100">
</label>
</p>
<p>
<span class="style9">
<label>Apartment/Other
<input name="apt" type="text" id="apt" size="100">
</label>
</span></p>
<p><span class="style9" id="sprytextfield6">
<label><span class="style2">*</span>City/Town
<input name="city" type="text" id="city" size="75">
</label>
</span><span class="style9"> <span id="sprytextfield7">
<span class="style2">*</span>
<label><span class="style9">Zip Code</span>
<input type="text" name="zipcode" id="zipcode">
</label>
</span></p>
<p class="style2">MAILING ADDRESS (IF DIFFERENT FROM STREET ADDRESS)</p>
<p>
<label><span class="style9">Street Address
<input name="mailingstreet" type="text" id="mailingstreet" size="100">
</span></label>
</p>
<p class="style9">
<label>RR/PO/Apt.
<input name="mailingPO" type="text" id="mailingPO" size="100">
</label>
</p>
<p>
<label><span class="style9">City/Town</span>
<input name="city2" type="text" id="city2" size="75">
</label>
<span class="style9">
<label>Zip Code
<input type="text" name="mailingzip" id="mailingzip">
</label>
</span></p>
<p class="style2">CONTACT INFORMATION</p>
<p><span class="style9" id="sprytextfield12">
<label><span class="style2">*</span>Home Phone
<input type="text" name="homephone" id="homephone">
</label>
</span><span class="style9">
<label>Work/Other Phone
<input type="text" name="workphone" id="workphone">
</label>
</span></p>
<p class="style9"><span id="sprytextfield17">
<label><span class="style2">*</span>Email
<input name="email" type="text" id="email" size="75">
</label>
<span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span> </p>
<p class="style9"><span id="sprytextfield4">
<label><span class="style2">*</span>Re-Enter Email
<input name="reenteremail" type="text" id="reenteremail" size="75">
</label>
<span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></p>
<div id="spryradio2">
<table width="587">
<tr>
<td colspan="3"><p class="style9"><span class="style2">*</span>Preferred Contact</p></td>
</tr>
<tr>
<td width="92"><p>
<span class="style9">
<label>
<input type="radio" name="PreferredContacts" value="email" id="PreferredContacts_0">
Email</label>
</span></p></td>
<td width="200" class="style9"><p class="style9">
<label>
<input type="radio" name="PreferredContacts" value="workphone" id="PreferredContacts_2">
Work/Other Phone</label>
</p></td>
<td width="279" rowspan="2" class="style9"> <p><span class="radioRequiredMsg">Please make a selection.</span></p></td>
</tr>
<tr>
<td><p>
<span class="style9">
<label>
<input type="radio" name="PreferredContacts" value="homephone" id="PreferredContacts_1">
Home Phone</label>
</span></p></td>
<td class="style9"><p class="style9">
<label>
<input type="radio" name="PreferredContacts" value="usmail" id="PreferredContacts_3">
U.S. Mail</label>
</p></td>
</tr>
</table>
</div>
<p class="style9"><span id="sprytextfield16"><span id="sprytextfield11"><span id="sprytextfield2">
<label><span class="style2">*</span>Birth Date (mm/dd/yyyy)
<input type="text" name="birthdate" id="birthdate">
</label>
<span class="textfieldRequiredMsg">A value is required.</span></span><span class="textfieldRequiredMsg">A value is required.</span></span><span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span> </p>
<p>
<label><span class="style9">School (If Attending)</span>
<input name="school" type="text" id="school" size="75">
</label>
<span><br>
<span class="radioRequiredMsg">Please make a selection.</span></span></p>
<p>
<span class="style9">
</span>
<span class="style9">
<label>
<div align="center">
<div align="center">
Submit
<input type="submit" name="submit" id="submit" value="Submit">
Reset
<input type="reset" name="reset" id="reset" value="Reset">
</div>
</label>
</span>
</form>
<p> </p>
<script type="text/javascript">
<!--
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5");
var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6");
var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7", "zip_code");
var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8");
var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield9");
var sprytextfield12 = new Spry.Widget.ValidationTextField("sprytextfield12", "none");
var sprytextfield14 = new Spry.Widget.ValidationTextField("sprytextfield14", "email");
var sprytextfield15 = new Spry.Widget.ValidationTextField("sprytextfield15", "email");
var sprytextfield17 = new Spry.Widget.ValidationTextField("sprytextfield17", "email", {validateOn:["change"], useCharacterMasking:true});
var spryradio1 = new Spry.Widget.ValidationRadio("spryradio1", "preferredcontact");
var sprytextfield13 = new Spry.Widget.ValidationTextField("sprytextfield13", "email");
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
var spryradio2 = new Spry.Widget.ValidationRadio("spryradio2");
var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "email");
//-->
</script>Have a look at the following
<p class="style9"><span id="sprytextfield16"><span id="sprytextfield11"><span id="sprytextfield2"> <label><span class="style2">*</span>Birth Date (mm/dd/yyyy) <input type="text" name="birthdate" id="birthdate">
</label>
There are no inputs for the following
var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5");
var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6");
var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8");
var sprytextfield14 = new Spry.Widget.ValidationTextField("sprytextfield14", "email");
var sprytextfield15 = new Spry.Widget.ValidationTextField("sprytextfield15", "email");
var spryradio1 = new Spry.Widget.ValidationRadio("spryradio1", "preferredcontact");
var sprytextfield13 = new Spry.Widget.ValidationTextField("sprytextfield13", "email");
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
Don't do this, it invites BIG trouble
<form action="mailto:[email protected]" method="post" enctype="text/plain" name="review" id="review"> -
Forms Multi-row validation
I have a requirement to show a validation error at form ‘At least one reviewer should have more than zero amount limit'. So we need identify highest amount limit entered in multiple rows, that highest amount limit should be >=1 if not show an error.
Level Reviewer Amt limit
1 ABC 0
2 MNP 0
3 XYZ 0
In the above case I need show an error msg. I tried pre-insert. It didn’t work because built-in not supports pre-inserts.
Pls advice the best methodology to has shown error in this kind of scenario.Hi,
Create a Summary item based on Amt limit.
Then in pre-insert check the value of summary item. If it is < 1 then, raise error .
Regards -
Form Personalization error in INV on Kanban Cards Form R12
Hi,
I'm trying form personalization in INV Kanban Cards Form,could you suggest me:
1. Assume that MTL_KANBAN_CARDS table has kanban_card_number='12345'
2. Assume that in the table MTL_MATERIAL_TRANSACTIONS_TEMP , Transaction_Quantity = 50 for above kanban_card record.
3. Now, user will enter into apps, open the kanban form & query above kanban_card_number. This form will have 3 DFF fields for entering the quantity
(Attribute4 for Lot1, Attribute5 for Lot2, Attribute6 for Lot3).
4. Now, user will enter first DFF value say 10, 2nd DFF value say 20 and 3rd DFF value say 20. --> The total is 50 which is equal to the transaction_quantity in MTL_MATERIAL_TRANSACTIONS_TEMP for this kanban_card.
My requirement is that, when ever user enters (based on above example) more than 50 (sum of 3 DFF's), then an error message should show up saying
(Entered quantity is more than transaction_quantity of this kanban card).
Trigger Event: WHEN-VALIDATE-RECORD
==============
Trigger Object: KANBAN_CARDS
==============
Condition:
=========
:KANBAN_CARDS.inventory_item_id = MTL_MATERIAL_TRANSACTIONS_TEMP.inventory_item_id
and :KANBAN_CARDS.organization_id = MTL_MATERIAL_TRANSACTIONS_TEMP.organization_id
and (MTL_MATERIAL_TRANSACTIONS_TEMP.transaction_quantity >= nvl(:KANBAN_CARDS.ATTRIBUTE4,0) + nvl(:KANBAN_CARDS.ATTRIBUTE5,0) + nvl(:KANBAN_CARDS.ATTRIBUTE6,0))
and rownum=1
Thanks
PravinForms Personalization is a feature of the Oracle Enterprise Business Suite (EBS) not a feature of Oracle Forms. Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
Craig B-) -
Crystal Report Windows Forms Viewer Error in 1 Workstation after upgrade of PL
Hi all,
We just upgraded SAP from 8.82 PL02 to 8.82 PL15.
Afterwards, in just 1 workstation, Crystal Reports layouts have Crystal Report Windows Forms Viewer error I attach.
Before the upgrade this error did not happen.
No permissions or authorizations were changed in the workstation.
The Crystal Reports layouts remain working fine in server and in the other workstations.
In the workstation following are installed:
- Operating System Windows 7;
- Microsoft .NET Framework 4.5;
- SAP Crystal Reports runtime engine for. NET Framework;
- Crystal Report 2008 Runtime SP6;
- Microsoft SQL Server 2008 R2 Native Client.
All, but the operating system, are equal to the other workstations.
User has edit access to SAP folders, temp and access to the attach path.
We already uninstalled SAP client and client agent and re-installed it but with no avail.
Can anyone help me?
Thanks in advance.
Best regards,
Pedro MarianoHi San Xu,
Thank you for your input.
However I'm facing problem with each software is suitable.
I installed SAP Crystal Reports for SAP Business One (CR 2011 V14.0.4.738), but with no avail.
Thanks in advance.
Best regards,
Pedro Mariano -
Help! i need to get components id with error validation!
Hi guys, im really new in jsf, i have a tabset, in with several tabs generated dinamically, each tab have several components generated dinamically as well, im trying to get all components id which have validation errors, and show in the page an alert summary with the name of tabs which have the components with error validation, to do that, i will have to get the components id with error validations, so i will get the tab name which contains it.
I tried to use this, but didnt work for other components in others tabs than tabSelected.
public void prerender() {
Object tmp="";
FacesContext context = FacesContext.getCurrentInstance();
Iterator iter = context.getClientIdsWithMessages();
while(iter.hasNext()){
Object obj = iter.next();
This detect components in the current tab, because they are who have messages.
Please guys, hopefully you could help me at this, ive been trying to achieve this since 3 days ago, im really desperated, i dont know, if i could do this using some of jsf, otherwise i will have to do validation components manually.
By the way guys:
How do i do to call the validation phase, when im using a button with inmediate = true. Thats, because i could do a method to validate components (manually) and then call the validation phase, to show the input errors to user.
Thanks in advanced,
Yellr
Message was edited by:
yellrI suggest you do this stuff in the event handlers, such as in the action handler , such as in the tab action handler.
-
Hi,
I am getting following error validating trading partner. I have double checked the TP setup, everything looks fine. I had earlier successfully validated, later added a document type and trying to re-validate.
AIP-11052: Writing following objects: Trading Partner failed due to following constraint violation: PARTY. CAN NOT UPDATE UNVERSIONABLE OBJECT IN A VALIDATED CONFIGURATION
Does anyone have any clues??
Thanks
VenkatMake sure you do not have active configuration which is using this agreement.
-
made in cosmos help please need it
using System;
using Cosmos.Compiler.Builder;
using System.Threading;
using System.Windows.Forms;
namespace IUOS
class Program
#region Cosmos Builder logic
// Most users wont touch this. This will call the Cosmos Build tool
[STAThread]
static void Main(string[] args)
BuildUI.Run();
#endregion
// Main entry point of the kernel
public static void Init()
var xBoot = new Cosmos.Sys.Boot();
xBoot.Execute();
Console.ForegroundColor = ConsoleColor.DarkBlue;
a:
Console.WriteLine("------------------------------");
Console.WriteLine("WELCOME TO THE NEWLY OS MADE BY THE STUDENTS OF IQRA UNIVERSITY!");
Console.WriteLine("------------------------------");
Console.WriteLine();
Console.WriteLine();
Console.WriteLine();
Console.WriteLine("\t _____
Console.WriteLine("\t| | | |
| | |");
Console.WriteLine("\t| | | |
| | |");
Console.WriteLine("\t| | | |
| | |");
Console.WriteLine("\t| | | |
| | |___________");
Console.WriteLine("\t| | | |
| | |");
Console.WriteLine("\t| | | |
| | |");
Console.WriteLine("\t| | | |
| | |");
Console.WriteLine("\t| | | |
| | |");
Console.WriteLine("\t| | | |
| | |");
Console.WriteLine("\t|_____| |____________| |____________| ____________");
string input;
Console.WriteLine();
Console.Write("\nAbout OS : a");
Console.Write("\nTo Shutdown : s");
Console.Write("\nTo Reboot : r");
Console.Write("\nStart Windows Normaly : n");
Console.WriteLine();
input = Console.ReadLine();
if (input == "s" || input == "S"){
Cosmos.Sys.Deboot.ShutDown();
else
if (input == "r" || input == "R"){
Cosmos.Sys.Deboot.Reboot();
else
if (input == "a" || input == "A"){
Console.ForegroundColor = ConsoleColor.DarkBlue;
Console.Clear();
Console.WriteLine("\n\n\n-------------------------------------");
Console.WriteLine("version: DISPLAYS OS VERSION");
Console.WriteLine("about: DISPLAYS INFO ABOUT ANGRY OS");
Console.WriteLine("hello or hi: DISPLAYS A HELLO WORLD");
Console.WriteLine("MESSAGE THAT WAS USED TO TEST THIS OS!!");
Console.WriteLine("-----------------------------------");
Console.Write("You Want to know : ");
input = Console.ReadLine();
if (input == "version"){
Console.WriteLine("--------------------");
Console.WriteLine("OS VERSION 0.1");
Console.WriteLine("--------------------");
else
if (input == "about"){
Console.WriteLine("--------------------------------------------");
Console.WriteLine("OS IS DEVELOPED BY Qazi Jalil-ur-Rahman & Syed Akber Abbas Jafri");
Console.WriteLine("--------------------------------------------");
Console.Write("Want to go back to the main window");
Console.Write("\nYes : ");
string ans = Console.ReadLine();
if (ans == "y" || ans == "Y")
goto a;
Thread.Sleep(10000);
else
if (input == "n" || input == "N")
Thread.Sleep(5000);
Console.Clear();
for (int i = 0; i <= 0; i++){
Console.Write("\n\n\n\n\t\t\t\t\t ____ ____ ___
Console.Write("\n\t\t|\t\t | | | |
| | | | | |");
Console.Write("\n\t\t|\t| | |---- | |
| | | | | |---");
Console.Write("\n\t\t|____|____| |____ |___ |____ |___| | | |___");
Thread.Sleep(500);
Thread.Sleep(5000);
Console.Clear();
BootUserInterface();
Console.ReadLine();
// Form1 fo = new Form1();
else{
for (int i = 0; i <= 5; i++){
Console.Beep();
Thread.Sleep(1000);
goto a;
while (true);
private static void BootUserInterface() {
Thread t = new Thread(UserInterfaceThread);
t.IsBackground = true;
t.SetApartmentState(ApartmentState.STA);
t.Start();
private static void UserInterfaceThread(object arg) {
Form1 frm = new Form1(); // use your own
Application.Run(frm);
Hi
Jalil Cracker,
>>when user pres n then it must go to a form but error arises and not working good and threading is not respondin
Could you post the error information? And which line caused this error?
If you want to show Form1, you can use form.show() method
Form1 frm = new Form1();
frm.Show();
In addition, Cosmos is an acronym for C# Open Source Managed Operating System. This is not Microsoft product.If the issue is related to Cosmos, it would be out of our support. Thanks for your understanding. And you need raise an issue at Cosmos site.
Best regards,
kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Master-Detail Form Questions
I have two questions in regards to master-detail forms:
First, the form I am working on has 25 detail rows displayed to the user. If the user has more than 25 detail records for the master, I want them to be able to add more. For instance, after they enter the 25th record, I would like a pop up window to ask them if they would like to add more detail records for this master. If they select yes, then the records they have entered would be saved and then the form would repopulate with the current master record and another empty 25 detail records.
Second, I would like the Detail Action to be set to Insert if the user moves to a new detail row and selects an item from a combo box.
Thanks for any and all help.
Jeremy.Hi Sharmila.
Is there a way to repopulate only the Master information without populating the detail after the 'Save' button is pressed? I have written code that uses the session variables and repopulates the form with all the data that has just been saved, but I need only the master without the detail.
Thanks. -
The Submitter form cannot be validated if I don't fill the fields for each member of team (3).
is it means that a team less than 3 persons cannot participate ??A team with less than 3 persons is eligible. One, two and three member teams are all eligible. I will remove the requirement to fill out the information for all three participants.
Maybe you are looking for
-
Email attachment problem on iOS 5.1
Since the update to ios 5.1 all attachments sent from my work email arrive on my iPad as Winmail.dat files. This does not happen on my android phone (the same email has the File correctly attached and readable. Furthermore, this problem did not exi
-
I recently downloaded the trial version of Photoshop Cs5. I haven't had many problems and I like it a lot except for ONE thing! I cannot figure out how to blend layers! When I upload my first layer (my image) it shows in the layers palette. But when
-
Hi, I am having Adobe photoshop CS4 Version:11.0.1 installed in my laptop with oprating system Windows 7 64 bit. I am having trouble of mouse jumps always, I am realy frustrated with this, please provide me soltion to get rid of this problem. Thanks
-
what is the black text box that shows in the upper right of my screen and how do i get rid of it permanently? == every time i open a page
-
Where is the green screen key in Premier Elements 10 for Mac?
Anybody know where the green screen key feature is? Or how to edit green screen videos? Plenty of tutorials on YouTube but I can't find the Green Screen effect. Thanks.