Help with Dreamweaver Validate Form Behavior
Hello,
I'm attempting to use Dreamweaver to validate form fields. This would work quite well except for in this case I'm using custom form code which is coming from Salesforce.com. The issue has been that the Salesforce.com web-to-lead form comes with "name" attributes on every form field item. If I change these names to make the validation look nicer, for example from first_name to First Name, then the web to lead form breaks. Is there another way to utilize Dreamweavers form validation by creating by own names for each form element instead of using "name"? The objective is to give the user something that looks good... like:
First Name is required
Last Name is required
And with the Salesforce custom name fields it ends up looking like:
900000xxxxx213s is required
or
last_name is required
Thanks for any help!
The name attribute of a form cannot contain spaces. That's why the validation behavior breaks.
The Dreamweaver Validate Form behavior is rather crude and well past its sell-by date. Use the Spry Validation widgets instead: http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WS267C8659-3AEF-4956-8268-E38CA4CAFAD3a .html.
Similar Messages
-
Help with complex Acrobat forms
Hi Everyone,
Background: I worked with another developer and completed a form for one of our clients but I need to know if the below change requests are even possible and if so if anyone would like to help with finishing the form. I am definitely willing to pay for an experts services as long as this can be done in a timely manner.
What the form is - Our client wants a form that has text fields, drop down boxes and pages where images can be placed into the file and arrows drawn on it to point where the images are located on other images (some images are store layout maps). They would like to send this file out to their store managers, have them fill it in and then they would like the completed forms sent back so all of the information that was filled in (names, store names, addresses, square footage, etc) can be gathered into a database or excel file.
What is completed so far
- Cascading drop down boxes (user clicks on first drop down and whatever is selected changes the second drop down options, etc)
- Most of the text fields for information gathering including city, state, store manager etc
- Metric unit conversion boxes
- Header text fields (read only) are used on several of the pages and are a combination of choices made in the drop down boxes and text fields.
- Page footer info including page number
- The over all layout of the pages is set
Requested changes/additions
Major must have:
- Page Addition - There is a product page in the form (page 10) and the different stores will have a different number of these products to enter into the form so is there a way to add an ADD PAGE button on the page that when pressed will copy the product page to make a new product page? Now the product page has cascading drop down form fields on it so I would want to make sure the form fields are separate iterations of the form fields not just a duplicate of what was on the product page.
- Footer adjustments - If we can do the above of adding pages then is it possible to at that point adjust the footer to reflect the page number changes? The footer shows the current page number then the form name and date.
- Gather info - What is the best way to distribute these forms so that when returned completed the information can be gathered? I tried distributing via email which seems to work ok but the files might end up being too large for email so what is the best way to gather the completed info if say the files were ftp'd back?
Minor:
There are several minor change requests that I know are doable or that if not possible we can disregard. One that I am not sure about is if the color of the arrows in Acrobat can be changed from the default red?
At first I was assuming that the Clients that get the forms needed Acrobat Standard or Pro 8 or 9 because I thought that the only way to add images was to use the Touch-Up Tool under advanced tools and right click to Place images. However I am pretty sure that if Reader Rights is enabled that images can be copy pasted into the file too if this is incorrect please let me know.
If the above is not doable or if there is a better solution other than Acrobat forms to gather client information including allow the client to add images and place arrows then please let me know your thoughts.
Any help or suggestions would be greatly appreciated and again id like to commission this out to anyone who is up for the challenge.
Thanks in advance
JasonPerhaps a better question is does anyone know a good developer?
-
Need help with Adobe Interactive Form Saving
Hi Gurus,
I need your help with Adobe Interactive form saving.
I have written the code in pre-save event to prompt a message when user didn't enter any value before saving. The form data should not be saved upon clicking save (Just prompt the message and exit form the form). Can u please advice me how to do this.
Regards,
Srinisee the link: http://forms.stefcameron.com/2008/04/
it says:
preSave: Failed validations will not prevent the form from being saved however Acrobat/Reader will issue a special warning message, after issuing the validation error message, to inform the user that the validations failed. Iu2019m guessing this is because the user may be saving the form to continue filling it at a later time so the save canu2019t be completely prevented.
regards,
BJagdishwar. -
Help with creating a form, I want to add a check box to enable me to unlock certain fields and deselect the block again
Look to the right under "More Like This". Your issue has been discussed many many times. The error you are seeing is because you do not have enough free "contiguous" space on your hard drive. Read the other threads that address this issue to find how to solve the issue.
Or, put "The disk cannot be partitioned because some files cannot be moved" into the search box at the upper right of this page. -
Need Help with Dreamweave MX!
Hello all!
I'm an artist and I'm putting my new website together but I'm
stuck on something. I have 3 order forms that are all .doc files.
How do I make a link in Dreamweaver so when the person clicks on
the link... they download those forms? I did it once but it was a
long time ago and I forgot how. Don't talk to me like I'm some kind
of HTML expert. ;) I suck with HTML. If you can use simple easy
instructions I'd appreciate it. :) I'm not very experienced with
Dreamweaver.
Thanks! :)Mahalo, Inali.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Inali Kealoha" <[email protected]> wrote in
message
news:ej5e0k$255$[email protected]..
> lol Teasing is fine. :) Sometimes it's *REALLY* hard to
tell online the
> person's meaning without the use of emoticons. Either
way, what Murray
> said
> worked great. It was so simple too and now I know how to
do it from now
> on.
> I've only used Dreamweaver once before and only because
the person who was
> to
> build my site was taking too long. I just decided I'd do
it myself. :)
>
> Now it is completed! Well, except for the fact that
while deleting my old
> version of the site I think I accidentally deleted my
entire coppermine
> gallery
> in the process. Oops. :( Oh well. Hopefully that can be
fixed without too
> much
> work. Thanks for the help! :)
>
> Inali
>
http://www.spiritcreations.wulfpawz.net/
> -
Need help with Automatic Generating Form Numbers
Hello,
I am new to all this and have found myself stuck trying to figure out how to have my forms automatiacally generate a new number each time it is used. I tried looking through similar posts but do not understand the directions given there. If someone could help me figure this out I would really appreciate it. Thank you.Before opening my forms for responses I am creating a column with my starting form number - 1. in the cell above(first response) I am setting an equation =B2 +1. All incoming responses automatically generate an ID number within my responses table. The form itself will not present the number, but if you were looking for an easy way to track responses w/ an ID it has worked well for me so far.
-
I have a problem with Dreamweaver MX "unexpectedly quitting,"
every time I try to open the program. I am running Mac OS 10.2.8. I
have the console crash log for the program which I'll paste below.
quote:
Command: Dreamweaver MX
PID: 1201
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000004
Thread 0 Crashed:
#0 0x00a15b8c in 0xa15b8c
#1 0x006d6770 in 0x6d6770
#2 0x006d4b60 in 0x6d4b60
#3 0x00216894 in 0x216894
#4 0x00215ab0 in 0x215ab0
#5 0x00a25b94 in 0xa25b94
#6 0x00a25cec in 0xa25cec
#7 0x00a29924 in 0xa29924
#8 0x00a29750 in 0xa29750
Thread 1:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0xc0009190 in __ape_internal
#3 0xc0000efc in __ape_agent
#4 0x90020c28 in _pthread_body
Thread 2:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x9022a720 in SwitchContexts
#3 0x90224fc8 in YieldToThread
#4 0x90243128 in SetThreadState
#5 0x9026d948 in SetThreadStateEndCritical
#6 0x009e7c28 in 0x9e7c28
#7 0x009e68e4 in 0x9e68e4
#8 0x009e67e0 in 0x9e67e0
#9 0x009e6bcc in 0x9e6bcc
#10 0x009e7f64 in 0x9e7f64
#11 0x9023bba8 in CooperativeThread
#12 0x90020c28 in _pthread_body
Thread 3:
#0 0x9000508c in syscall
#1 0x90515d0c in BSD_waitevent
#2 0x905156dc in CarbonSelectThreadFunc
#3 0x90020c28 in _pthread_body
Thread 4:
#0 0x9003e9a8 in semaphore_wait_signal_trap
#1 0x9003e7c4 in _pthread_cond_wait
#2 0x9051dbf0 in CarbonOperationThreadFunc
#3 0x90020c28 in _pthread_body
PPC Thread State:
srr0: 0x00a15b8c srr1: 0x0200f030 vrsave: 0x00000000
xer: 0x20000000 lr: 0x006d6770 ctr: 0x00defd50 mq:
0x00000000
r0: 0x006d6770 r1: 0xbffff460 r2: 0x0104c000 r3: 0x00000000
r4: 0x00000000 r5: 0x0000004d r6: 0x011e420a r7: 0x000000b0
r8: 0x02befe88 r9: 0xa0220a00 r10: 0x0250e760 r11:
0xa0221738
r12: 0x012e28b4 r13: 0x00000000 r14: 0x00000000 r15:
0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19:
0x00000000
r20: 0xbffffe18 r21: 0x00000001 r22: 0x012632a8 r23:
0x011e34bc
r24: 0x00000001 r25: 0x00000001 r26: 0x011e41c0 r27:
0x02cf2d50
r28: 0x02cf2d70 r29: 0x00000000 r30: 0x0286bdc0 r31:
0x00000000
I think I know the cause of the program though. I was trying
to install some extensions using the extension manager. After I
launched Dreamweaver after installing the extensions, the problem
started.
I have the extensions that I was trying to install if that
would help.
I would really like someone to help me with this problem.
Please tell me if you don't think this is the correct forum to post
it in.
Maybe it is Apple's fault.
Thanks in advance.
JylanHave you tried uninstalling that extension? Which one was it?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"jyilan" <[email protected]> wrote in
message
news:[email protected]...
>I have a problem with Dreamweaver MX "unexpectedly
quitting," every time I
>try
> to open the program. I am running Mac OS 10.2.8. I have
the console crash
> log
> for the program which I'll paste below.
>
>
quote:
> Command: Dreamweaver MX
> PID: 1201
>
> Exception: EXC_BAD_ACCESS (0x0001)
> Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000004
>
> Thread 0 Crashed:
> #0 0x00a15b8c in 0xa15b8c
> #1 0x006d6770 in 0x6d6770
> #2 0x006d4b60 in 0x6d4b60
> #3 0x00216894 in 0x216894
> #4 0x00215ab0 in 0x215ab0
> #5 0x00a25b94 in 0xa25b94
> #6 0x00a25cec in 0xa25cec
> #7 0x00a29924 in 0xa29924
> #8 0x00a29750 in 0xa29750
>
> Thread 1:
> #0 0x90073ba8 in mach_msg_trap
> #1 0x90005ed0 in mach_msg
> #2 0xc0009190 in __ape_internal
> #3 0xc0000efc in __ape_agent
> #4 0x90020c28 in _pthread_body
>
> Thread 2:
> #0 0x90073ba8 in mach_msg_trap
> #1 0x90005ed0 in mach_msg
> #2 0x9022a720 in SwitchContexts
> #3 0x90224fc8 in YieldToThread
> #4 0x90243128 in SetThreadState
> #5 0x9026d948 in SetThreadStateEndCritical
> #6 0x009e7c28 in 0x9e7c28
> #7 0x009e68e4 in 0x9e68e4
> #8 0x009e67e0 in 0x9e67e0
> #9 0x009e6bcc in 0x9e6bcc
> #10 0x009e7f64 in 0x9e7f64
> #11 0x9023bba8 in CooperativeThread
> #12 0x90020c28 in _pthread_body
>
> Thread 3:
> #0 0x9000508c in syscall
> #1 0x90515d0c in BSD_waitevent
> #2 0x905156dc in CarbonSelectThreadFunc
> #3 0x90020c28 in _pthread_body
>
> Thread 4:
> #0 0x9003e9a8 in semaphore_wait_signal_trap
> #1 0x9003e7c4 in _pthread_cond_wait
> #2 0x9051dbf0 in CarbonOperationThreadFunc
> #3 0x90020c28 in _pthread_body
>
> PPC Thread State:
> srr0: 0x00a15b8c srr1: 0x0200f030 vrsave: 0x00000000
> xer: 0x20000000 lr: 0x006d6770 ctr: 0x00defd50 mq:
0x00000000
> r0: 0x006d6770 r1: 0xbffff460 r2: 0x0104c000 r3:
0x00000000
> r4: 0x00000000 r5: 0x0000004d r6: 0x011e420a r7:
0x000000b0
> r8: 0x02befe88 r9: 0xa0220a00 r10: 0x0250e760 r11:
0xa0221738
> r12: 0x012e28b4 r13: 0x00000000 r14: 0x00000000 r15:
0x00000000
> r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19:
0x00000000
> r20: 0xbffffe18 r21: 0x00000001 r22: 0x012632a8 r23:
0x011e34bc
> r24: 0x00000001 r25: 0x00000001 r26: 0x011e41c0 r27:
0x02cf2d50
> r28: 0x02cf2d70 r29: 0x00000000 r30: 0x0286bdc0 r31:
0x00000000
>
>
> I think I know the cause of the program though. I was
trying to install
> some
> extensions using the extension manager. After I launched
Dreamweaver after
> installing the extensions, the problem started.
> I have the extensions that I was trying to install if
that would help.
> I would really like someone to help me with this
problem. Please tell me
> if
> you don't think this is the correct forum to post it in.
> Maybe it is Apple's fault.
> Thanks in advance.
> Jylan
> -
I'm a newbie to javascript and need help with the simplest way to create an order form. The fields required are Order No., Description, Unit, Price, Quantity and Total. The user would enter an order number which would automatically complete the Description, Unit and Price fields. I have 448 products on the order form.
Product used:
Adobe Livecycle Designer ES in Adobe Professional 9Hi,
There are a few things to consider first:
Where is the data coming from? Will the form connect to a database?
Is the data in an XML file?
Will it be OK to hard wire the data into the form? This is harder to maintain.
448 is a lot of codes for the user to process. Can these be split into groups, so that one dropdown with 10 options, would populate second with say 40 options.
What you are looking for is possible, but will require some scripting to get it to work and will probably require maintenance going forward.
Maybe a bit more info would help,
Niall
Steve has a solution for you ;-) -
Need help with PHP contact form
Hi guys,
I've made a PHP contact form for my site and need help with a couple of things:
The form action links an external PHP script (scripts/contact-form-script.php) but is there a way I can have it so the PHP script for the form is contained within the same PHP file as my contact form (contact.php)?
I tried just putting the form code at the top of contact.php but the browser automatically reads the anti-spam re-direct, so maybe that needs revising too?
The second thing is, how can I make the Name, Email and Message fields mandatory? So if a user tries to submit the form and hasn't filled in one of the required fields and clicks submit, contact.php reloads with a message at the top of the form saying something like 'Complete the required fields' and highlights the relevant field with a red border?
Here's the code for contact.php:
<form action="http://www.mydomain.com/scripts/contact-form-script.php" method="post" name="contact" id="contact">
<p><strong>Name:*</strong><br />
<input name="name" type="text" class="ctextField" /></p>
<p><strong>E-mail:*</strong><br />
<input name="email" type="text" class="ctextField" /></p>
<p><strong>Telephone:</strong><br />
<input name="telephone" type="text" class="ctextField" /></p>
<p><strong>Company:</strong><br />
<input name="company" type="text" class="ctextField" /></p>
<p><strong>Address:</strong><br />
<input name="address1" type="text" class="ctextField" /></p>
<p><input name="address2" type="text" class="ctextField" /></p>
<p><strong>Town:</strong><br />
<input name="town" type="text" class="ctextField" /></p>
<p><strong>County:</strong><br />
<input name="county" type="text" class="ctextField" /></p>
p><strong>Postcode:</strong><br />
<input name="postcode" type="text" class="ctextField" /></p>
<p><strong>Message:*</strong><br />
<textarea name="message" cols="55" rows="8" class="ctextField"></textarea></p>
<p><input name="submit" value="SEND MESSAGE" class="submitButton" type="submit" /><div style="visibility:hidden; width:1px; height:1px"><input name="url" type="text" size="45" id="url" /></div></p>
</form>
And this is the PHP I'm using to submit the form data for contact-form-script.php:
<?php
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$to = "[email protected]";
$subject = "Contact from website";
$message = $headers;
$message .= "Name: " . $_POST["name"] . "\r\n";
$message .= "E-mail: " . $_POST["email"] . "\r\n";
$message= '
<table cellspacing="0" cellpadding="8" border="0" width="500">
<tr>
<td colspan="2"></td>
</tr>
<tr bgcolor="#eeeeee">
<td width="154" style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Name</strong></td>
<td width="314" style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$name.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>E-mail address:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$email.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Telephone number:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$telephone.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Company:</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$company.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Address</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$address1.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$address2.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Town</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$town.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>County</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$county.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Postcode</strong></td>
<td style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$postcode.'</td>
</tr>
<tr bgcolor="#eeeeee">
<td colspan="2" style="font-family:Verdana, Arial; font-size:11px; color:#333333;"><strong>Message</strong></td>
</tr>
<tr bgcolor="#eeeeee">
<td colspan="2" style="font-family:Verdana, Arial; font-size:11px; color:#333333;">'.$message.'</td>
</tr>
<tr><td colspan="2" style="padding:0px;"><img src="images/whitespace.gif" alt="" width="100%" height="1" /></td></tr>
</table>
$url = stripslashes($_POST["url"]);
if (!empty($url)) {
header( 'Location: http://www.go-away-spam-robots.com' );
exit();
mail($to, $subject, $message, $headers);
header( 'Location: http://www.mydomain.com/sent.php' ) ;
?>
Any help on this would be greatly appreciated.
Thank you and I hope to hear from you!
SMRevised code with form validation for Name Email and Message:
<?php
if (array_key_exists('submit', $_POST)) {
$name = $_POST['name'];
$email = $_POST['email'];
$telephone = $_POST['telephone'];
$company = $_POST['company'];
$address1 = $_POST['address1'];
$address2 = $_POST['address2'];
$town = $_POST['town'];
$county = $_POST['county'];
$postcode = $_POST['postcode'];
$formMessage = $_POST['message'];
if (empty($name)) {
$warning['name'] = "Please provide your name";
if (empty($email)) {
$warning['email'] = "Please provide your email";
if (empty($formMessage)) {
$warning['message'] = "Please provide your message";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$to = "[email protected]";
$subject = "Contact from website";
$message = $headers;
$message .= "Name: " . $_POST["name"] . "\r\n";
$message .= "E-mail: " . $_POST["email"] . "\r\n";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$message= "
<table cellspacing='0' cellpadding='8' border='0' width='500'>
<tr>
<td colspan='2'></td>
</tr>
<tr bgcolor='#eeeeee'>
<td width='154' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Name</strong></td>
<td width='314' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$name."</td>
</tr>
<tr bgcolor='#eeeeee'>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>E-mail address:</strong></td>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$email."</td>
</tr>
<tr bgcolor='#eeeeee'>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Telephone number:</strong></td>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$telephone."</td>
</tr>
<tr bgcolor='#eeeeee'>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Company:</strong></td>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$company."</td>
</tr>
<tr bgcolor='#eeeeee'>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Address</strong></td>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$address1."</td>
</tr>
<tr bgcolor='#eeeeee'>
<td></td>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$address2."</td>
</tr>
<tr bgcolor='#eeeeee'>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Town</strong></td>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$town."</td>
</tr>
<tr bgcolor='#eeeeee'>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>County</strong></td>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$county."</td>
</tr>
<tr bgcolor='#eeeeee'>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Postcode</strong></td>
<td style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$postcode."</td>
</tr>
<tr bgcolor='#eeeeee'>
<td colspan='2' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'><strong>Message</strong></td>
</tr>
<tr bgcolor='#eeeeee'>
<td colspan='2' style='font-family:Verdana, Arial; font-size:11px; color:#333333;'>".$formMessage."</td>
</tr>
<tr><td colspan='2' style='padding: 0px;'><img src='images/whitespace.gif' alt='' width='100%' height='1' /></td></tr>
</table>
$url = stripslashes($_POST["url"]);
if (!empty($url)) {
header( 'Location: http://www.go-away-spam-robots.com' );
exit();
if (!isset($warning)) {
mail($to, $subject, $message, $headers);
header( 'Location: http://www.mydomain.com/sent.php' ) ;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<style type="text/css">
p {
margin: 0;
padding: 10px 0 0 0;
.warning {
color:#C00;
</style>
</head>
<body>
<form action="" method="post" name="contact" id="contact">
<p><strong>Name:*</strong><br />
<input name="name" <?php if (isset($warning['name'])) { echo "style='border: 1px solid #C00'"; } ?> type="text" class="ctextField" />
<?php if (isset($warning['name'])) { echo "<p class='warning'>".$warning['name']."</p>"; }?>
</p>
<p><strong>E-mail:*</strong><br />
<input name="email" <?php if (isset($warning['email'])) { echo "style='border: 1px solid #C00'"; } ?>type="text" class="ctextField" />
<?php if (isset($warning['name'])) { echo "<p class='warning'>".$warning['email']."</p>"; }?>
</p>
<p><strong>Telephone:</strong><br />
<input name="telephone" type="text" class="ctextField" /></p>
<p><strong>Company:</strong><br />
<input name="company" type="text" class="ctextField" /></p>
<p><strong>Address:</strong><br />
<input name="address1" type="text" class="ctextField" /></p>
<p><input name="address2" type="text" class="ctextField" /></p>
<p><strong>Town:</strong><br />
<input name="town" type="text" class="ctextField" /></p>
<p><strong>County:</strong><br />
<input name="county" type="text" class="ctextField" /></p>
<p><strong>Postcode:</strong><br />
<input name="postcode" type="text" class="ctextField" /></p>
<p><strong>Message:*</strong><br />
<?php if (isset($warning['message'])) { echo "<p class='warning'>".$warning['message']."</p>"; }?>
<textarea name="message" <?php if (isset($warning['message'])) { echo "style='border: 1px solid #C00'"; } ?> cols="55" rows="8" class="ctextField"></textarea></p>
<p><input name="submit" value="SEND MESSAGE" class="submitButton" type="submit" /><div style="visibility:hidden; width:1px; height:1px"><input name="url" type="text" size="45" id="url" /></div></p>
</form>
</body>
</html> -
Really need help with basic static forms?!?!
I was thrown into creating forms for our Business Managers and I am not a developer in any way! I am a Recruiter, but somewhat tech savvy (or at least I thought I was).
I am trying to create basic static forms. I started by using Adobe Professional and them moved to LiveCycle Designer because of what I thought were better "editable" options when creating the form. I want to be able to send my manager's forms via e-mail (PDF), they can enter the requesting information in the fields, save a copy for themselves, print, and e-mail to me. We are not using any of the Adobe Server things, I don't want them to submit via an e-mail button on the form. We are a non-profit organization and my managers are using all different versions of reader.
I am getting extremely frustrated because in testing the form everything seems to be working properly including tab order, print, save and everything I want it to do. Then, I send them out for my managers to use, for some Manager's they work great, no problems at all! But then, I keep getting these weird issues from different Managers with the same form. For one of them, what they typed in the field, now looks like it's behind the text box, like when you select Highlight all, you can see what he typed, but then if you click into the text box, you can see what he typed. Another Manager said, two (crucial) fields would not show the text entered when she tries to save or print, but on screen you can see it????
So after the rambling, I guess my questions are: should I be using Live Cycle to create such basic forms or should I be using Adobe? Can anyone recommend a good "FOR DUMMIES" book that will help me figure out what I am doing wrong, and not explain in "IT" language?
This is really getting embarrassing!! Any help would be greatly appreciated!!!!1. Make sure to set the PDF target version. Goto File -> Form Properties (see the first screenshot attached)
Find out the minimum Reader version used in your organization and set this value accordingly. If you are not sure, select the least recent version.
2. two (crucial) fields would not show the text entered when she tries to save or print, but on screen you can see it
This may be due to the visibility settings of the fields. Just make sure that you have selected visible instead of visible (screen only)
See the second screenshot attached
Hope this may help you.
Nith -
Help with Dreamweaver flash image viewer
Hi all
Would like some help with Dreamweavers Flash image viewer.
Everything is working properly except when i try to link a picture, and have set the imagelinkTarget value to _blank the link always navigates away from my site and does not open in a new window.
I have tried all the values for the imageLinkTarget and nothing works..
Here is my code
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0, 28,0','width','190','height','190','src','images/ad1','quality','high','flashvar s','flashlet={imageLinkTarget:\'_blank\',captionFont:\'Verdana\',titleFont:\'Verdana\',sh owCo ntrols:false,frameShow:false,slideDelay:5,captionSize:14,captionColor:#000000,ti tleSize:10,transitionsType:\'Fade\',titleColor:#333333,slideAutoPlay:true,imageU RLs:[\'images/image1.jpg\',\'images/image2.jpg\',\'images/image3.jpg\',\'images/ image4.jpg\'],slideLoop:true,frameThickness:2,imageLinks:[\'http://www.bowlsaustralia.com.au\',\'http://www.smh.com.au\'],frameColor:#333333,bgColor:# FF9966,imageCaptions:[\'Bowls Australia\',\'Sydney Morning Herald\']}','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFl ash','flash_component','ImageViewer.swc','movie','images/ad1' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0, 28,0" width="190" height="190">
<param name="flash_component" value="ImageViewer.swc" />
<param name="movie" value="images/ad1.swf" />
<param name="quality" value="high" />
<param name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verd ana',showControls:false,frameShow:false,slideDelay:5,captionSize:14,captionColor :#000000,titleSize:10,transitionsType:'Fade',titleColor:#333333,slideAutoPlay:tr ue,imageURLs:['images/image1.jpg','images/image2.jpg','images/image3.jpg','image s/image4.jpg'],slideLoop:true,frameThickness:2,imageLinks:['http://www.bowlsaustralia.com.au','http://www.smh.com.au'],frameColor:#333333,bgColor:#FF9 966,imageCaptions:['Bowls Australia','Sydney Morning Herald']}" />
<embed src="images/ad1.swf" quality="high" flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:' Verdana',showControls:false,frameShow:false,slideDelay:5,captionSize:14,captionC olor:#000000,titleSize:10,transitionsType:'Fade',titleColor:#333333,slideAutoPla y:true,imageURLs:['images/image1.jpg','images/image2.jpg','images/image3.jpg','i mages/image4.jpg'],slideLoop:true,frameThickness:2,imageLinks:['http://www.bowlsaustralia.com.au','http://www.smh.com.au'],frameColor:#333333,bgColor:#FF9 966,imageCaptions:['Bowls Australia','Sydney Morning Herald']}" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFl ash" type="application/x-shockwave-flash" width="190" height="190"> </embed>
</object>
</noscript>
any help would be greatly appericated
KenI just googled and found lots of folks with the same problem. One fellow wrote this as a soluton:
"All you have to do is
remove the values from the imageLinks in the flash element. That
should fix it."
Does it?
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
Help with Dreamweaver centering website
Help please,
I have created my first website with Dreamweaver 8.02 and now
I need to center it into the center of the page. But I do not know
how. The web is 700wide x 500 high and the address is:
www.amandastraussdesigns.com Please help. I don’t know how to
fix this.
ThanksOf course !!
"Sleep deprived" maybe :)
Nadia
Adobe® Community Expert : Dreamweaver
Tutorials |SEO |Templates
http://www.DreamweaverResources.com
http://www.perrelink.com.au
CSS Tutorials for Dreamweaver
http://www.adobe.com/devnet/dreamweaver/css.html
"Murray *ACE*" <[email protected]> wrote
in message
news:[email protected]...
>> body {
>> text-align: left; /* I added this */
> -----------------^^^
>
> Should be text-align:center;
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.dreamweavermx-templates.com
- Template Triage!
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
> ==================
>
>
> ": Nadia : **AdobeCommunityExpert**"
> <[email protected]> wrote
in message
> news:[email protected]...
>> You'll need to get into code view to fix this....
>>
>> Change the the body style you have now to:
>>
>> body {
>> text-align: left; /* I added this */
>> margin-left: 0px;
>> margin-top: 0px;
>> margin-right: 0px;
>> margin-bottom: 0px;
>> }
>>
>> Add a new div style just underneath the body styles:
>>
>> #outwrapper{
>> position: relative;
>> margin: auto auto;
>> width: 700px;
>> text-align:left;
>> }
>>
>> Then, just under this line:
>>
>> <body tracingsrc="image/colors.jpg"
tracingopacity="11">
>>
>> add
>>
>> <div id="outwrapper">
>>
>> just before this line (right at the bottom of the
code)
>>
>> </body>
>>
>> add this:
>>
>> </div> <!-- /wrapper div -->
>>
>> so your last 3 lines look like this:
>>
>> </div>
>> </body>
>> </html>
>>
>>
>> Your page should now be centered horizontally.
>>
>> --
>> Nadia
>> Adobe® Community Expert : Dreamweaver
>> -------------------------------------------------
>> Tutorials |SEO |Templates
>>
http://www.DreamweaverResources.com
>> -------------------------------------------------
>>
http://www.perrelink.com.au
>> -------------------------------------------------
>> CSS Tutorials for Dreamweaver
>>
http://www.adobe.com/devnet/dreamweaver/css.html
>> -------------------------------------------------
>>
>>
>>
>> "demhs" <[email protected]> wrote
in message
>> news:[email protected]...
>>>
>>> Help please,
>>>
>>> I have created my first website with Dreamweaver
8.02 and now I need to
>>> center
>>> it into the center of the page. But I do not
know how. The web is
>>> 700wide x 500
>>> high and the address is:
www.amandastraussdesigns.com Please help. I
>>> don?t know
>>> how to fix this.
>>>
>>> Thanks
>>>
>>>
>>
>>
>
> -
Need help with receiving offline form in GP
I'm new to GP and interactive forms on EP 7.0 SP15 and running into a problem with submitting an offline form and GP starting the process. The examples were followed on how to set up the callable object with an interactive form. I've got the form set up to be used as a standalone interactive form and starting a process upon completion. I've selected the process which is active and completed the mapping. Went through the steps to manage impersonalized interactive forms. Downloaded the form, entered data and submit. Get the message back that it was received successfully. Went back and checked manage impersonalized... and can see that the form was returned. Go back to Runtime and can't find the process listed anywhere. Where is it going? Is there a way to track it down? Looked at Maintain queues and checked each queue, can't find anything with a timestamp around the time the last form was submitted. Any ideas on how to figure this out would be appreciated.
Thank you,
KathyThanks for the reply! I was able to reset the field calculation order
but have one field that is not populating right away and I have
changed it's order everywhere? -
Need help with php registration form! (Dreamweaver cs5)
Im creating an advanced php registration form in dreamweaver. I need the following code for:
ZIP / Postal code, date of birth.
or
if u can help me how to create the entire form with the following fields That will be nice! Im a Newbie:
First name, lastname, country, zip / postal code, date of birth, username, password, email, verified, and token.
This is the database i have in mysql:
User_id, INT, (10), UNSIGNED, NOT NULL, A_INCREMENT
Firstname, VARCHAR, (50), NOT NULL
Lastname, VARCHAR, (50), NOT NULL
Country, VARCHAR, (20), NOT NULL
Zip, INT, (12), NOT NULL
Birth_date, DATE, NOT NULL
Username, VARCHAR, (15), NOT NULL
Password, VARCHAR, (40), NOT NULL
Email, VARCHAR, (100), NOT NULL
Verified, ENUM, ('n','y'), NOT NULL
Token, VARCHAR, (40), NOT NULL
I need to know how to apply the insert recorset server behavior in dreamweaver cs5 so I can get it to run.
I have been trying diff ways and i just can't get it right.
Please help! Thanks!!!I'm not sure how much you know but first you have to connect your form to the database
$con = mysql_connect("hostname","admin_name","password");
Then you have to choose the database you want information be added to.
mysql_select_db("database name goes here", $con);
Then you have to write an sql function which will write it in the appropiate columns in your database
$sql="INSERT INTO what column e.g members (First name, Last name, age, etc)
VALUES (the names of the textfields on your form), actually double check that part
('$_POST[firstname]','$_POST[lastname]','$_POST[age]')";
$result = mysql_query($sql);
This is the first and most basic part just to give you an idea how it works.
Within these snippets you will have to write much more which will beef up the security aswell as check if everything has been entered correctly etc -
In desperate help with Dreamweaver Forms
I am looking to create a textfield within my form for viewers to enter a certain phrase or code to enable them to view my next page on my website. In other words, I am creating a simple game on dreamweaver were viewers have to enter a code within a textfield in order to view the next page once submitted. How can I tell dreamweaver what the word or code is for viewers to enter?? This code would have to be entered correctly, otherwise they would not be able to view the lext page (level 2). I have tried using spry validation but cannot seem to figure it out. Please if someone can help me i would be very grateful.
php will do this quiet easily if you can use it? A simple example of the code/form is below:
Copy code and paste into a new Dreamwaever document and save it as next_level.php The page sends the information collected via the form back to itself. If the person enters the correct code in this case 12345 they get taken to www.bbc.co.uk if they enter the wrong code they get a failure message. You can alter all of the above i.e., code and url to go to in the code below.
You can either use this locally if you have php set up or upload it to your server if it runs php.
<?php
if (array_key_exists('sumbit', $_POST)) {
$code = $_POST['code'];
if ($code == "12345") {
header('Location: http://www.bbc.co.uk');
else {
$responseMessage = "Sorry, the code you entered is incorrect!";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body>
<form id="checkCode" name="checkCode" method="post" action="next_level.php">
<label>Code
<input type="text" name="code" id="code" />
</label>
<label>Submit
<input type="submit" name="sumbit" id="sumbit" value="Submit" />
</label>
</form>
<?php
if (isset($responseMessage)) {
echo $responseMessage;
?>
</body>
</html>
Maybe you are looking for
-
How to call a help file from a WAD Template button
Hi All I need to implement a button in a web template when I press the button it displays another HTML or text file it is mainly on help on the report. I am just wondering how to store this HTML or text file in the system and what function to impleme
-
My computer crashed, how do I get my songs on my new one?
My computer crashed and I lost everything. How can I get my songs on to my new computer?
-
Cant Load Win 7 64 after rebuild NF980-G65
Hi I have just bought an NF980-G65 mob., with an AMD Phenom II X4 955 (Deneb 4c) 3.2 GHz, DDR3-1333, 2 MB L2, 6 MB. I also bought the G-skill 1600 ram, I was a bit put of when it came as it was for an Intel pro, I have it set up with two Nvidia 7800g
-
Clearing an alert in OEM-GC that has a future date on, How do you delete?
Hi to all, I have an alert that occurred regarding the count on targets on the agent and it has a future time stamp on it. I have tried to alter the alert metric so it en-compasses the amount of targets hoping that this would clear the alert and then
-
Item Validation Organization is not Appearing in LOV in profile options
Dear All, Item Validation Organization is not Appearing in LOV of the Profile options. OE: Item Validation Organization QP : Item Validation Organization Regards, John