Comments in Forms
A couple of questions about comments.
I have always assumed that comments are eliminated by the compiler and so do not affect the size of the fmx file, and so cannot affect runtime performance. Can anyone confirm whether this is true ?
Doe anyone have any opinions about the best place to put comments, particularly form level ones. I worry that the 'proper' place on the form level property sheet is easily missed by subsequent developers. I have a tendency
to put such comments in a when-new-form-instance trigger as I reckon that is more likely to get looked at. Does any have any else have a policy on this ?
Any comments on comments are welcome !
Hi cousin
I think the best place to put Forms level is in a program unit called AAA$READ_ME (or some such name). This gives it the benefit of being first in the stack of Program Units and hence easy to find whereas I can conceive of a Form that doesn't have a W-N-F-I trigger (although I admit such a beast is pretty rare outside of my febrile imagination).
Cheers, APC
Similar Messages
-
Prev Comment / New Comment in Forms
We have built custom forms using HCM F&P with fields such as Prev Comment & New Comment
We have workflow going upto 4-5 levels
For some of the IDs, the comments entered at one level is not getting displayed in the previous comment field of the next approver.
For some IDs, this works correctly.
Does this depend on missing authorization? Is there any other possible reason for this behavior?Looks like you got your answer here? Re: Prev Comment / Next Comment in Forms
Maybe you can close this thread? Otto -
I just finished creating a web site for my non-profit group. I would like to put a comment/feedback form for visitors to submit comments to two emails at once. Is this possible?
you'll find www.response-o-matic.com very easy and useful.
just get the html it creates at the end and add as an html snippet.
tip: you can get rid of the titles, or change the colour, size, etc of fonts if they don't fit in with you're page. i deleted the text that came with it (done in the html code) then added my own text boxes which looked nicer and more consistent.
you can have the results emailed to 2 ppl at once if u pay, however, using mail or most other email apps, u cud quite easily set up a rule, so if the email contains the subject "xyz" (which you specify), then forward the email to "[email protected]"
simple. and free. -
I have created a form with an expandable table because the need for extra spots are needed at times. On my old form, I was able to stamp images and comments onto the form, however, with the new form, I am not able to do this.
The error message I revieve is:
"This form is interactive and has special features. To save a copy of it that you can treat as any other PDF file, choose File>Print and then choose the Adobe PDF printer. This creates a PDF file that does not have special features, so you can add comments to it or send it our for review."
The PDF is set up to allow people to edit and save the form from Adobe Reader.
If it matters, I used a table from another form I found online and edited it to match what I needed, since I was unable to creat the expanding table myself.Hi,
You can only apply commenting and annotations to Static PDF Forms. If you have saved your form as a Dynamic XML Form in the save as dialog (which you would need to do for the dynamic behaviour of adding instances), then you will not be able to add comments.
Good luck,
Niall -
How to write comments on forms adobe x
How do you type cooments on adobe acrobat 10, without that funny little box that pops up
There are lots of commenting tools and all can have a pop-up. You can close the pop-up and enter you text into the comment if the comment tool you selected allows a text entry. You can control the automatic opening of the pop-up in the application's preferences, "Edit => Preferences => Comments => Pop-Up Open Behavior => Automatically open comment pop-ups for comments other than notes".
-
Disable "Comments & Forms" in acrobat Print dialog
Hi,
I have a requirement whereing the user should not be able to select options in the "Comments & Forms" section of the Print dialog box while trying to print the PDF.But you can write a script that will hide all the comments and form fields
just before the file is printed, and show then just afterwards. -
Hello,
I created a dynamic XFA form by LiveCycle Designer. I can not comment on form by using Acrobat. Why we can not comment on dynamic forms?
Thank You
AsiyeThe big problem is how Acrobat stores comments. These are stored in a physical location on the page. If your form is a dynamic form, it has the ability to change and if the comment is anchored on a page that disappears due to the dynamic nature of the form, what would happen to the comment. As a result of this being difficult to engineer around, it has not been permitted as Bernd states above.
It would be a very cool feature though! -
[SOLVED] Forms Web - Works on IE and Chrome, firefox says it misses plugin
Greetings,
Both in IE and Chrome it works perfectly i open the Gin client through the same URL, ex: http://10.0.0.28:7778/forms/frmservlet?config=gin4
However if i try the same URL in firefox it shows a big grey square in the page saying "Click here to download Plugin"
Clicking instal it opens a small popup saying no suitable plugins were found, inside it says and Unknown Plugin (text/html) and a button to installs manually appears.
Clicking on that button i am taken to this page: http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
I have lost track on the number of times i have installes uninstalled and reinstalled a lot of java versions not just the 1.4.2_06 version.
I have been trying to fix this problem for a couple of months now with no luck.
Here is the Source code from the html page, its the same for every browser since its the same url:
<HTML>
<!-- FILE: webutiljpi.htm (Oracle Forms) -->
<!-- -->
<!-- This is the default base HTML file for running a form on the -->
<!-- web using the JDK Java Plugin. This is used for example when -->
<!-- running with Netscape on Unix. -->
<!-- and a certificate regsitration applet for the WebUtil utility -->
<!-- -->
<!-- IMPORTANT NOTES: -->
<!-- Default values for all the variables which appear below -->
<!-- (enclosed in percent characters) are defined in the servlet -->
<!-- configuration file (formsweb.cfg). It is preferable to make -->
<!-- changes in that file where possible, rather than this one. -->
<!-- -->
<!-- This file uses several extra tags that are not present in the -->
<!-- default template files. You should ensure that these are -->
<!-- present in the configuration that uses this template -->
<!-- The extra substitution Tags are: -->
<!-- frmwebutil.jar, jacob.jar = jar file containing the WebUtil code -->
<!-- (by default this should be frmwebutil.jar) -->
<!-- off = Defines the current logging mode. -->
<!-- Valid values: off|on|console|server|all -->
<!-- (on == console) -->
<!-- normal = Specifies the level of error logging.-->
<!-- Valid values: normal|detailed -->
<!-- Alert = Should errors be displayed in an alert -->
<!-- as well as the programmer defined -->
<!-- locations -->
<!-- Valid values: console|server|alert|all -->
<!-- 5 = Counts in second to -->
<!-- indicate how often the monitor thread -->
<!-- checks to see if the Forms session is still-->
<!-- alive. Used with the WebUtil_Session -->
<!-- package. -->
<!-- true = Should intranet without domain suffix-->
<!-- be trusted. -->
<!-- Valid values: true|yes|false|no -->
<!-- 16384 = Size in bytes of file transfer -->
<!-- segments. Default and maximum allowed is -->
<!-- 16384, i.e. 16K. -->
<HEAD><TITLE>GIN - Gestao Integrada do Negocio - WebUtil</TITLE></HEAD>
<BODY >
<COMMENT id="forms_plugin_info"
plug_ver="clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA"
appheight="800"
appwidth="900"
appcodebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06">
</COMMENT>
<!-- Forms applet definition (start) -->
<NOSCRIPT>
<OBJECT classid="clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA"
codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06"
WIDTH="900"
HEIGHT="800"
HSPACE="0"
VSPACE="0">
</NOSCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="java/forms_ie.js"></SCRIPT>
<PARAM NAME="TYPE" VALUE="application/x-java-applet;jpi-version=1.4.2_06">
<PARAM NAME="CODEBASE" VALUE="/forms/java">
<PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
<PARAM NAME="ARCHIVE" VALUE="frmall.jar, ginico4.jar, laf.jar,formsmagnifier.jar,formsmagnifier10123.jar,handleimage3.jar,fjtable.jar,frmwebutil.jar, jacob.jar" >
<PARAM NAME="serverURL" VALUE="/forms/lservlet?ifcfs=/forms/frmservlet?config=gin4&acceptLanguage=en-US,en;q=0.8">
<PARAM NAME="networkRetries" VALUE="30">
<PARAM NAME="serverArgs"
VALUE="escapeParams=true module=GINFS001.fmx userid= sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record= tracegroup= log= term=/orasoft/OraHome_1/forms/admin/resource/US/fmrpcweb.res UTI= PASS= IDIOMA= ADMGIN=admgin PM$CSS_FILENAME=/gin/gin4/exe/forms.css">
<PARAM NAME="separateFrame" VALUE="true">
<PARAM NAME="splashScreen" VALUE="no">
<PARAM NAME="background" VALUE="FUNDO.jpg">
<PARAM NAME="lookAndFeel" VALUE="oracle">
<PARAM NAME="colorScheme" VALUE="blue">
<PARAM NAME="serverApp" VALUE="default">
<PARAM NAME="logo" VALUE="REMATE_MENU.gif">
<PARAM NAME="imageBase" VALUE="codebase">
<PARAM NAME="formsMessageListener" VALUE="">
<PARAM NAME="recordFileName" VALUE="">
<PARAM NAME="EndUserMonitoringEnabled" VALUE="">
<PARAM NAME="EndUserMonitoringURL" VALUE="">
<PARAM NAME="heartBeat" VALUE="">
<PARAM NAME="WebUtilLogging" VALUE="off">
<PARAM NAME="WebUtilLoggingDetail" VALUE="normal">
<PARAM NAME="WebUtilErrorMode" VALUE="Alert">
<PARAM NAME="WebUtilDispatchMonitorInterval" VALUE="5">
<PARAM NAME="WebUtilTrustInternal" VALUE="true">
<PARAM NAME="WebUtilMaxTransferSize" VALUE="16384">
<COMMENT>
<EMBED SRC="" PLUGINSPAGE="http://java.sun.com/products/archive/j2se/1.4.2_06/index.html"
TYPE="application/x-java-applet;jpi-version=1.4.2_06"
java_codebase="/forms/java"
java_code="oracle.forms.engine.Main"
java_archive="frmall.jar, ginico4.jar, laf.jar,formsmagnifier.jar,formsmagnifier10123.jar,handleimage3.jar,fjtable.jar,frmwebutil.jar, jacob.jar"
WIDTH="900"
HEIGHT="800"
HSPACE="0"
VSPACE="0"
serverURL="/forms/lservlet?ifcfs=/forms/frmservlet?config=gin4&acceptLanguage=en-US,en;q=0.8"
networkRetries="30"
serverArgs="escapeParams=true module=GINFS001.fmx userid= sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record= tracegroup= log= term=/orasoft/OraHome_1/forms/admin/resource/US/fmrpcweb.res UTI= PASS= IDIOMA= ADMGIN=admgin PM$CSS_FILENAME=/gin/gin4/exe/forms.css"
separateFrame="true"
splashScreen="no"
background="FUNDO.jpg"
lookAndFeel="oracle"
colorScheme="blue"
serverApp="default"
logo="REMATE_MENU.gif"
imageBase="codebase"
recordFileName=""
EndUserMonitoringEnabled=""
EndUserMonitoringURL=""
heartBeat=""
WebUtilLogging="off"
WebUtilLoggingDetail="normal"
WebUtilErrormode="Alert"
WebUtilDispatchMonitorInterval="5"
WebUtilTrustInternal="true"
WebUtilMaxTransferSize="16384"
>
<NOEMBED>
</COMMENT>
</NOEMBED></EMBED>
</OBJECT>
<!-- Forms applet definition (end) -->
</BODY>
</HTML>
Any help is appreciated.
Best regards,
Igor CarrascoIn the Java plugins i see :
Java(TM) Platform SE 6 U20
File: npjp2.dll
Version: 6.0.200.2
Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
MIME Type Description Suffixes
application/x-java-applet Java Applet
application/x-java-bean JavaBeans
application/x-java-vm
application/x-java-applet;version=1.1.1
application/x-java-bean;version=1.1.1
application/x-java-applet;version=1.1
application/x-java-bean;version=1.1
application/x-java-applet;version=1.2
application/x-java-bean;version=1.2
application/x-java-applet;version=1.1.3
application/x-java-bean;version=1.1.3
application/x-java-applet;version=1.1.2
application/x-java-bean;version=1.1.2
application/x-java-applet;version=1.3
application/x-java-bean;version=1.3
application/x-java-applet;version=1.2.2
application/x-java-bean;version=1.2.2
application/x-java-applet;version=1.2.1
application/x-java-bean;version=1.2.1
application/x-java-applet;version=1.3.1
application/x-java-bean;version=1.3.1
application/x-java-applet;version=1.4
application/x-java-bean;version=1.4
application/x-java-applet;version=1.4.1
application/x-java-bean;version=1.4.1
application/x-java-applet;version=1.4.2
application/x-java-bean;version=1.4.2
application/x-java-applet;version=1.5
application/x-java-bean;version=1.5
application/x-java-applet;version=1.6
application/x-java-bean;version=1.6
application/x-java-applet;jpi-version=1.6.0_20
application/x-java-bean;jpi-version=1.6.0_20
and this also:
Java Deployment Toolkit 6.0.200.2
File: npdeployJava1.dll
Version: 6.0.200.2
NPRuntime Script Plug-in Library for Java(TM) Deploy
MIME Type Description Suffixes
application/java-deployment-toolkit
Plus a lot more plugins not from Java.
Best regards -
How can i send an auto reply with form content to sender?
Hai!
I'm new to website building, but i already came a long way
i made a form and i like to send a auto reply with the form content (if that isnt too difficult) to the person who filled it in.
The form i made is in PHP (coding i copied partly from someone from the internet .)
You can see the from at: http://vinddit.nl/vindditnu%20php%20version.php
My PHP coding so far
<?php
// Set email variables
$email_to = '[email protected]';
$email_subject = 'Aanvraag - VINDDIT NU!';
// Set required fields
$required_fields = array('Voornaam','email','Achternaam','Plaats');
// set error messages
$error_messages = array(
'Voornaam' => 'Vul hier uw voornaam in a.u.b.',
'email' => 'Vul hier een geldig email adres in a.u.b.',
'Achternaam' => 'Vul hier uw achternaam in a.u.b.',
'Plaats' => 'Vul hier uw woonplaats in a.u.b.'
// Set form status
$form_complete = FALSE;
// configure validation array
$validation = array();
// check form submittal
if(!empty($_POST)) {
// Sanitise POST array
foreach($_POST as $key => $value) $_POST[$key] = remove_email_injection(trim($value));
// Loop into required fields and make sure they match our needs
foreach($required_fields as $field) {
// the field has been submitted?
if(!array_key_exists($field, $_POST)) array_push($validation, $field);
// check there is information in the field?
if($_POST[$field] == '') array_push($validation, $field);
// validate the email address supplied
if($field == 'email') if(!validate_email_address($_POST[$field])) array_push($validation, $field);
// basic validation result
if(count($validation) == 0) {
// Prepare our content string
$email_content = 'New Website Comment: ' . "\n\n";
// simple email content
foreach($_POST as $key => $value) {
if($key != 'submit') $email_content .= $key . ': ' . $value . "\n";
// if validation passed ok then send the email
mail($email_to, $email_subject, $email_content);
// Update form switch
$form_complete = TRUE;
function validate_email_address($email = FALSE) {
return (preg_match('/^[^@\s]+@([-a-z0-9]+\.)+[a-z]{2,}$/i', $email))? TRUE : FALSE;
function remove_email_injection($field = FALSE) {
return (str_ireplace(array("\r", "\n", "%0a", "%0d", "Content-Type:", "bcc:","to:","cc:"), '', $field));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Aanvraag formulier</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.3.0/mootools-yui-compressed.js"></script>
<script type="text/javascript" src="validation/validation.js"></script>
<script type="text/javascript">
var nameError = '<?php echo $error_messages['fullname']; ?>';
var emailError = '<?php echo $error_messages['email']; ?>';
var commentError = '<?php echo $error_messages['comment']; ?>';
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
</script>
<style type="text/css">
</style>
</head>
<body onload="MM_preloadImages('icons/x.png')">
<p> </p>
<p>
<?php if($form_complete === FALSE): ?>
</p>
<form action="vindditnu php version.php" method="post" enctype="application/x-www-form-urlencoded" name="Form" id="commentsform">
<h1><img src="icons/vinddit3.gif" width="220" height="80" alt="logo" /></h1>
<h1>Wat zoekt u?:</h1>
<table width="690" border="0">
<tr>
<td>In welke categorie zoekt u?*</td>
<td colspan="3"><select name="Ophalen_verzenden" id="Ophalen_verzenden">
<option selected="selected">Meubels </option>
<option>Witgoed </option>
<option>Woon accesoires </option>
<option>Kleding </option>
<option>Schoenen </option>
<option>Mode accesoires </option>
<option>Speelgoed </option>
<option>Boeken, tijdschriften, papierwaren </option>
<option>Overig </option>
</select></td>
</tr>
<tr>
<td>Kleur:* </td>
<td colspan="3"><select name="kleuren" id="kleuren">
<option>Blauw</option>
<option>Rood</option>
<option>WIt</option>
<option>Zwart</option>
<option>Beige</option>
<option>Bruin</option>
<option>Geel</option>
<option>Oranje</option>
<option>Rood</option>
<option>Metallic (Bijv. Zilver/Goud/Brons/Koper</option>
<option>Meerkleurig</option>
<option selected="selected">Overig/ N.v.t</option>
</select></td>
</tr>
<tr>
<td>Merk: </td>
<td colspan="3"><input name="Merk" type="text" id="Merk5" value="<?php echo isset($_POST['Merk'])? $_POST['Merk'] : ''; ?>" />
<?php if(in_array('Merk', $validation)): ?>
<span class="error"><?php echo $error_messages['Merk']; ?></span>
<?php endif; ?></td>
</tr>
<tr>
<td>Type/Model:</td>
<td colspan="3"><input type="text" name="type" id="type" value="<?php echo isset($_POST['type'])? $_POST['type'] : ''; ?>" />
<?php if(in_array('type', $validation)): ?>
<span class="error"><?php echo $error_messages['type']; ?></span>
<?php endif; ?></td>
</tr>
<tr>
<td>Materiaal: </td>
<td colspan="3"><input name="Materiaal" type="text" id="Materiaal" value="<?php echo isset($_POST['Materiaal'])? $_POST['Materiaal'] : ''; ?>" />
<?php if(in_array('Materiaal', $validation)): ?>
<span class="error"><?php echo $error_messages['Materiaal']; ?></span>
<?php endif; ?></td>
</tr>
<tr>
<td>Maat: </td>
<td colspan="3"><input type="text" name="Maat" id="Maat" value="<?php echo isset($_POST['Maat'])? $_POST['Maat'] : ''; ?>" />
<?php if(in_array('Maat', $validation)): ?>
<span class="error"><?php echo $error_messages['Maat']; ?></span>
<?php endif; ?></td>
</tr>
<tr>
<td>Conditie*:</td>
<td colspan="3"><select name="conditie" id="conditie" >
<option>Zo goed als nieuw</option>
<option>Nieuw</option>
<option>Bebruikt</option>
<option selected="selected">Geen voorkeur </option>
</select></td>
</tr>
<tr>
<td>Ophalen/Verzenden:*</td>
<td colspan="3"><select name="ophalen" id="ophalen">
<option>Ophalen</option>
<option>Verzenden</option>
<option>N.v.t</option>
<option>Geen voorkeur </option>
</select></td>
</tr>
<tr>
<td>Prijs Min:</td>
<td><input name="prijsmin" type="text" id="prijsmin" size="10" value="<?php echo isset($_POST['prijsmin'])? $_POST['prijsmin'] : ''; ?>" />
<?php if(in_array('prijsmin', $validation)): ?>
<span class="error"><?php echo $error_messages['prijsmin']; ?></span>
<?php endif; ?></td>
<td>Prijs Max:</td>
<td><input name="Prijs" type="text" id="Prijs" size="10" value="<?php echo isset($_POST['Prijs'])? $_POST['Prijs'] : ''; ?>" />
<?php if(in_array('Prijs', $validation)): ?>
<span class="error"><?php echo $error_messages['Prijs']; ?></span>
<?php endif; ?></td>
</tr>
</table>
<h1>Opmerkingen:</h1>
<table width="690" border="0">
<tr>
<td height="25">Opmerkingen:</td>
<td rowspan="2"><textarea name="Opmerkingen" cols="67" rows="10" id="Opmerkingen"><?php echo isset($_POST['Opmerkingen'])? $_POST['Opmerkingen'] : ''; ?></textarea>
<?php if(in_array('Opmerkingen', $validation)): ?>
<span class="error"><?php echo $error_messages['Opmerkingen']; ?></span>
<?php endif; ?></td>
</tr>
<tr>
<td height="78"> </td>
</tr>
</table>
<h1>Uw Gegevens:</h1>
<table width="690" border="0">
<tr>
<td>Voornaam/Voorletters*:</td>
<td><input type="text" name="Voornaam" id="Voornaam" class='invul' value="<?php echo isset($_POST['Voornaam'])? $_POST['Voornaam'] : ''; ?>" />
<?php if(in_array('Voornaam', $validation)): ?>
<span class="error"><?php echo $error_messages['Voornaam']; ?></span>
<?php endif; ?></td>
<td>Achternaam:* </td>
<td><input type="text" name="Achternaam" id="Achternaam" class='invul' value="<?php echo isset($_POST['Achternaam'])? $_POST['Achternaam'] : ''; ?>" />
<?php if(in_array('Achternaam', $validation)): ?>
<span class="error"><?php echo $error_messages['Achternaam']; ?></span>
<?php endif; ?></td>
</tr>
<tr>
<td>Straatnaam:</td>
<td><input type="text" name="Straat" id="Straat" class='invul' value="<?php echo isset($_POST['Straat'])? $_POST['Straat'] : ''; ?>" />
<?php if(in_array('Straat', $validation)): ?>
<span class="error"><?php echo $error_messages['Straat']; ?></span>
<?php endif; ?></td>
<td>Huisnummer:</td>
<td><input name="Huisnummer" type="text" id="Huisnummer" class='invul' size="10" value="<?php echo isset($_POST['Huisnummer'])? $_POST['Huisnummer'] : ''; ?>" />
<?php if(in_array('Huisnummer', $validation)): ?>
<span class="error"><?php echo $error_messages['Huisnummer']; ?></span>
<?php endif; ?></td>
</tr>
<tr>
<td>Postcode:</td>
<td><input type="text" name="Postcode" id="Postcode" class='invul' value="<?php echo isset($_POST['Postcode'])? $_POST['Postcode'] : ''; ?>" />
<?php if(in_array('Postcode', $validation)): ?>
<span class="error"><?php echo $error_messages['Postcode']; ?></span>
<?php endif; ?></td>
<td>Plaats:* </td>
<td><input type="text" name="Plaats" id="Plaats" class='invul' value="<?php echo isset($_POST['Plaats'])? $_POST['Plaats'] : ''; ?>" />
<?php if(in_array('Plaats', $validation)): ?>
<span class="error"><?php echo $error_messages['Plaats']; ?></span>
<?php endif; ?></td>
</tr>
<tr>
<td>Email Adres:*</td>
<td colspan="3"><input type="text" name="email" id="email" class='invul' value="<?php echo isset($_POST['email'])? $_POST['email'] : ''; ?>" />
<?php if(in_array('email', $validation)): ?>
<span class="error"><?php echo $error_messages['email']; ?></span>
<?php endif; ?></td>
</tr>
<tr>
<td>Telefoonnummer:</td>
<td colspan="3"><input name="Telefoon" type="text" id="Telefoon" class='invul' value="<?php echo isset($_POST['Telefoon'])? $_POST['Telefoon'] : ''; ?>" />
<?php if(in_array('Telefoon', $validation)): ?>
<span class="error"><?php echo $error_messages['Telefoon']; ?></span>
<?php endif; ?></td>
</tr>
</table>
<p>
<label for="Straat"></label>
<label for="Huisnummer"><br />
</label>
<input type="submit" name="Submit" id="Submit" value="Verstuur" />
<input type="reset" name="Reset" id="Reset" value="Wissen" />
</p>
</form>
<?php else: ?>
<div class="bedankt">
<p>Bedankt voor uw aanvraag!</p>
<p>Wij zullen uw aanvraag zo spoedig mogelijk behandelen. Meestal duurt dit 2 a 3 werkdagen.</p>
<p><img src="icons/vinddit3.gif" width="220" height="80" alt="logo" /></p>
</div>
<p>
<script type='text/javascript'>
setTimeout("ourRedirect()", 5000)
function ourRedirect() {
</script>
<?php endif; ?>
</body>
</html>
and .JS
window.addEvent('domready', function() {
// Get the form
var form = $('comments_form');
// if the form is found...
if (form) {
// obtain error fields
var name = $('fullname');
var email = $('email');
var comment = $('comment');
// Set the default status
var isValid = true;
// input error function for the error messages
var addError = function (field, msg) {
field.addClass('error'); // Add error class to field
var error = field.getParent().getElement('span') || new Element('span', {'class': 'error'}); // add error message if not already placed
error.set('text', msg); // error text msg
error.inject(field, 'after'); // Insert error message after field
// detach error function used to delete any error messages and remove the error class
var removeError = function (field) {
field.removeClass('error'); // Remove error class from form fields
var error = field.getParent().getElement('span'); // find any existing error messages
// destroy if error message
if (error) {
error.destroy();
// insert submit form event
form.addEvent('submit', function (e) {
// Test name length
if (name.get('value').length === 0) {
isValid = false;
addError(name, nameError);
} else {
isValid = true;
removeError(name);
// check email length
if (email.get('value').length === 0) {
isValid = false;
addError(email, emailError);
// check email validity
} else if (!email.get('value').test(/^([a-zA-Z0-9\+_\-]+)(\.[a-zA-Z0-9\+_\-]+)*@([a-zA-Z0-9\-]+\.)+ [a-zA-Z]{2,6}$/)) {
isValid = false;
addError(email, emailError);
} else {
isValid = true;
removeError(email);
// check comment length
if (comment.get('value').length === 0) {
isValid = false;
addError(comment, commentError);
} else {
isValid = true;
removeError(comment);
// If form invalid then stop event happening
if (!isValid) {
e.stop();lisavs12686 wrote:
Whould it also be possible to send the sender the submited data (looking like the filled in form or so)?
not really nessecary but whould be a nice jextra
You can but you would need to send it as an html email which is much more complicated.
What you would do is build a page/table construction like below. You would need to use the php variables to echo out the information in the <td></td> cells (example below).
$reply = $_POST['email'];
$from = '[email protected]';
$replysubject = "Auto-Reply: Website Name";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: $from\r\nReply-to: $reply";
$replymessage = '
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Comments from Website</title>
</head>
<body>
<table>
<tr>
<td bgcolor="#ffffff" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 13px; padding: 10px 15px;">Name: </strong>'.$name.'
</td>
</tr>
</table>
</body>
</html>';
mail($reply, $replysubject, $replymessage, $headers); -
Can't view overflow text in document sent for commenting
We use Acrobat 9 Pro for Windows in my office. When my coworker sends me a pdf form document for commenting (through the commenting menu), and that document contains form fields with overflow text, I can't get a scroll bar and can't access the overflow text. I do see the + overflow text indicator in the lower right corner of the field, but can't activate it by clicking on it. On the other hand, if my coworker sends me the same form document as a simple attachment, I can get to the overflow text with no problem. We're using Windows XP on Dell desktop computers. Thanks for any solutions.
PaulIf a document is enabled for commenting, all form fields are disabled. If extended for use with Reader (i.e., Advanced > Extend Features in Adobe Reader), both commenting and certain forms usage rights (and a few others) are enabled. But if you have Acrobat Pro, she shouldn't need to do anything more than send the original document that has not been enabled for commenting. You only need to do that for Reader users.
George -
Forms 11 New Features and release date
Hy,
I think Ronald Grant is who can answer my question:
when date release is for Forms 11, and what'are major improvements for Forms 11?
Thnksthanks Grant,
i have found it:
'Forms version 11 is planned to be part of Oracle Application server version 11, which is planned in 12-15 months, which means summer 2007. Forms will not participate in the 10.1.3 platform, so the version 11 will be the first after the current 10.1.2 line.'
You can find the full article at:
http://www.oratransplant.nl/2006/06/07/oracles-plans-for-forms-version-11/
thanks again, I have been very happy after I read all features and your comment on 'Forms is not dead'
Regards
Rosario -
How to receive fillable PDF forms from clients & be able to save them?
Hi everyone,
So I have been having trouble with this for a while now.
Basically for work, my assignment was to create a PDF that could have fillable forms and a button at the bottom of the page sending to my coworkers' emails.
How it would work: Once a person fills out the form and presses the send button at the bottom of the PDF, it would send to my coworkers' emails and they could save the documents with the fillable data.
Everything works except for the saving process. Once my coworkers receive the email, they get different error messages that look like the following (and they CANNOT SAVE the PDFs... so it makes the whole idea worthless):
Here is how the messages read:
1) First image on the left: the box reads "Save a Blank Copy of this Form"
underneath it it says "Data typed into this form will not be saved. Adobe Reader can only save a blank copy of this form.
2) 2nd image: the box reads "Sending Data Files by Email"
underneath it says "Please note: This form contains an email submit button. Clicking this button will email a data file containing data you type into this form. However, the form itself will not be sent. Remember you cannot save a completed copy of this form with Adobe Reader 9 or later.
3) 3rd image: reads "the file you are attempting to open contains comments or form data that are supposed to be placed on. This document cannot be found. It may have been moved, or deleted. Would you like to browse to attempt to locate this document?
So, I was wondering if there is any way around this. Is there away to have the PDF sent back to my coworkers so they can then save the FILLABLE PDF and organize it in a folder.
If there isn't... then is there a way to have it send back to my coworkers and have them print out the fillable PDF and organize the PDFS coming in that way?Yes, you just need to Reader-enable the document, which will allow Reader to save the complete PDF form. When you set up the Submit button, choose the option that sends the complete PDF, as opposed ot just the form data (FDF, XFDF).
To Reader-enable a document in Acrobat 10, select: File > Save As > Reader Extended PDF > Enable Additional Features
Do this as the final step when preparing the document to be sent out. -
How do I create a reader extended quiz that cannot be saved after submitting form
I'm trying to creat a quiz (using a form) that can be submitted via e-mail from the client. I cannot use "distribute form" as this will be used in a factory environment on a shared computer. How do I make the form so the quiz is not saved with the answers filled in?
With FDF, the person reading the file has to have Acrobat. AA7 sounds write, but at this point most folks have that (except for folks like me who have a different version of Acrobat on each machine with 4 through 9).
With Reader, folks can submit a FDF file by e-mail (not preferred and prone to client setup issues) or a web script. You can also use the FDF Toolkit (Adobe download) to manipulate the submitted FDFs if desired. I do not believe that Reader can import the FDF file, but I do not have Reader installed to check on that (actually I could do it at home with my old desktop that has Reader on it -- but no time soon). As far as filling the form out and submitting it with a FDF file, there should be no problem with Reader. As to how far back in Reader versions this is true may be another question. One of the issues deals with keeping out all of the newer features in your form. You might do that by using the Save as -- Reduce File Size or PDF Optimize to put it in a prior version. Be sure to check your form afterwards to be sure it is still functional.
FDF is the standard data output for AcroForms (Designer creates XML forms). The use of the data submission avoids the need to activate Reader Rights that has EULA limitations on the use.
I will let others address the distribution and submission issues, but I think the answer is yes.
For FDF based forms, the form is developed entirely in Acrobat, not Designer. Many folks automatically head to Designer through the forms menu, but it is not necessary. Designer has some advanced features that are useful for some situations, so you have to look at the tradeoffs if you go there. Most needs can be satisfied by AcroForms (forms directly in Acrobat). I have always felt more control of an AcroForm, but I honestly can not give a good comparison. George Johnson gives a lot of comments on forms and can probably direct you to a good comparison or answer specific questions better than most of us. He gave your first response on this discussion. Hopefully this clarifies things a bit. -
PDF Form Printing Text, but no Form
I have an accountant trying to print a PDF Form. It cannot be saved, but only printed. When the form is completed and printed, it only prints out the entered text, and nothing else. All other PDF docs print fine
IT conditions:
She prints to an older Panasonic Copy machine
Her printer connection is Shared
Another PC can print the same form 100% fine and that machine goes through here PC to the printer.
Completed Troubleshooting:
First discovered she was on Reader 10.1.3 and the other PC was 10.1.1
Did a complete uninstall of 10.1.3 to include deleting from registry
Installed 10.1.1 with same issue.
Verified all a printer and reader settings are the same for both PCs
Attempted work arounds:
Installed doPDF virtual printer to try and save the completed form as PDF
PDF prints text and form text, but not the field borders for each block
Installed Nitro PDF as default PDF reader, same issue. Will not print out the field borders.
Additional Troubleshooting:
Ran full virus and malware/spyware scans with no issues.
Specific Form:
https://forms.in.gov/Download.aspx?id=4722
Searched all over the internet with Google and have had no luck finding any suggestionsWhen you print it, the box that pops up should say, under the Comments and Forms box, "document and markups". Hope that helps.
-
Parameter Form in Oracle Report!!
Dear Oracle Users' Group:
I have problem with "Parameter Form" in Oracle Report.
The Report that I created has the SQL:
"SELECT A.FIELD1, A.FIELD2
FROM MYDATABASE.MYTABLE A
WHERE
A.FIELD1 = :P_1";
When the report is run, it asks for the parameter
and generates the report based on the runtime
parameter. Works perfect on Oracle8i database's
Report front end.
The PROPERTY PALETTE for the FIELD (Field that
takes the runtime parameter) is:
====================
General Information
Name: PF_P_1
Comments:
Parameter Form Field
Source: P_1
Parameter
Datatype: Character
Width: 40
Initial Value:
Validation Trigger:
List of Values:
(For the list of values, I have put the SQL:
"SELECT DISTINCT A.FIELD1 from
MYDATABASE.MYTABLE A", Also I had
tried with list of fixed values like A, B, C)
Web Setting
Additional Attributes (HTML):
================
But the report does NOT work when called from the Web.
(This is only because of the problem with this Parameter
Form in my report. If I get rid of the parameter form by
changing the last line of my SQL to: "A.FIELD1 = 'Chicago'",
it works fine from the Web).
When accessed the report from the Web, the error I get
is:
Oracle Reports Server CGI - Report Job has terminated with this error.
Reports Server Replies:
REP-0788: Warning: The value of restricted LOV parameter P_1 is not among the selectable values.
I do not know what is the error with this simplest Parameter Form based Report!!
In the Property Palette (above) of the Field, there was a field named "Additional Attributes (HTML)"
under "Web Setting" heading.
Do I need to write something there!!
Please help!!
thanks.
kimmyHi, Kimmy
Try: ¶mform=yes]http://webserver.com:80/dev60cgi/rwcgi60.exe?server=repserver&report=rep1&userid=scott/tiger@orcl&destype=cache&desformat=htmlcss¶mform=yes
I've also sent you an email about key maps.
Enjoy! Web Reporting is a great feature.
Pedro.
Maybe you are looking for
-
Renamed files don't appear in alphabetical order
In the new iTunes, (11.0.2), there is a glitch where renaming the song won't change it's order. For example, a Violin Concerto downloaded from iTunes appears under "V" even though I renamed the file to include the composer's name "Britten: Violin Co
-
Hi, I joined in a new company called Cheelagap, They are using weblogic 5.1.0 in the UNIX environment. It now working fast and getting hang,crshing server. so they are planning to go for new HP UNIX server, they want to put one server weblogic (webse
-
Sharing hard drive with windows xp on imac intel duo core
Hi, I was wondering whether I could give over anymore of the hard disk on my imac intel duo core to Windows xp? If so, how would I go about doing that? Thanks in advance
-
HFM Configuration Error - URGENT
Hi there, I'm trying to configure HFM (11.1.2 on windows). I'm able to configure all things (DCOM, WEBSERVER...) but can't configure the database. When it gets to the database portion of the configuration, I see the following error message on the con
-
File accessing in weblogic cluster 10.3
I have a cluster with 2 instances. the requirement is like an legacy system putting files in a directory.my ejb timer in weblogic cluster should read the file and process , but the same file should not be read by both instancess in the cluster.if a f