close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Submit On Load

Thread began 10/08/2018 3:04 pm by vernon webb | Last modified 10/08/2018 4:17 pm by Ray Borduin | 22 views | 3 replies |

vernon webb

Submit On Load

I have a page that is currently working when you click the submit button. I want to eliminate that button and have the page submit when the page loads. With the submit button in place it works fine, when I change that to "Before Page Load" it returns a syntax error in SQL.

Sign in to reply to this post

Ray BorduinWebAssist

What are the column bindings set to? Do they rely on a form post variable?

Sign in to reply to this post

vernon webb

Yes. They say <?php echo ((isset($_POST["uID"]))?$_POST["uID"]:""); ?>
How do I get around that?

Sign in to reply to this post

Ray BorduinWebAssist

You would have to get the value from somewhere else than the post if you want to do the insert without a post. Maybe from the url or the recordset or the session. I can't really say since I don't know the full nature of the page or application you are building. You just can't get values from a form unless a form is submitted.

Probably look at the form elements on the page and see what their value attributes are set to and use that instead.

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...