close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Form Submit Confirm in Hidden AP Layer

Thread begun 8/12/2009 6:08 am by eaefaw380137 | Last modified 8/18/2009 8:04 pm by jennyfifi21387213 | 2680 views | 4 replies |

eaefaw380137

Form Submit Confirm in Hidden AP Layer

Hi - I am hoping that something like this is possible. I have a form inside of a Spry SlidingPanels widget (4th panel). The form sends the information correctly and the thankyou.php page is opened. What I would like to happen, is to have a hidden layer that appears when the user submits the form correctly. The div would have standard form success text and a close div option. Basically replace the thankyou.php with the hidden div since the site only has one page with the sliding panels I don't want to have it redirect to a generic thankyou page.

I have tried to implement the show/hide layer behavior in the validaion toolkit with no success, nor did I find documentation on your site on how to implement this behavior.

Any guidance/assistance is greatly appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

When the form posts, it needs to reload the page.

one way to accomplish this would be to have the server behavior that processes the form information redirect back to the same page and include a query string variable, for example:

pageName.php?status=thankYou


you could then dynamically set the visibility of the div using PHP code:

php:
<div id="apDiv1" style="visibility: <?php echo isset($_GET['status'])?"visible":"hidden" ?>;">Thank you message</div>
Sign in to reply to this post

eaefaw380137

Perfect!

Brian - that is spot on! I styled apDiv1 and then assigned the hide layer behavior to a button inside to hide itself. This was the last piece of my puzzle. I really appreciate your quick response and willingness to assist us less knowledgeable. You guys ROCK!

Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

Excellent, glad to hear it worked.

Sign in to reply to this post

jennyfifi21387213

Hello

I was registered at your forum. I have printed the test message. Do not delete, please.

gratuit pour mobile sonnerie portable mp3 - Sonnerie portable MP3 est en effet un pouvoir de l'innovation technologique. Êtes-vous familier avec cette sonnerie portable?gratuit pour mobile sonnerie portable mp3

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...