Custom Formdata matching with user table

Your conditional check is the wrong way around, it should be > not <. But more importantly, why are you doing a raw SQL query at all, just use the standard functions, e.g. get_user_by: $user = get_user_by( ’email’, $email ); if ( !$user ) { // there is no user with that email } Also, … Read more

Caldera Forms Manual formula

The presumptions are the capacity of the car is constant (ie, 4) and the total number of people booking the trip is entered in a single number field. Add a calculation field and create a manual formula based on the total number of people booking the trip. The formula would be: ceil(%total_people%/4) – where “total_people” … Read more

Make a treatment before the action of the form

That’s because you’re using a post action which sends the user to another website. The template_redirect never runs because the user isn’t on your site any more. You’ll need to keep them on the site, register the new user then send them to the gateway with the post data.

Forms cut off when on mobile

That’s a Blackbaud form and I’ve generally had a bit of trouble with them working on mobile and getting styled just right. Glad to see they’ve moved away from using iFrames at least. Anyway, when I check the developer tools there is an element ID’d as #bbox-root. The CSS for that element has a width … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)