darrellwilde
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Simple Form using JQuery Plugin@threadi thanks for the reply!
So at this moment in time all I have done is use a raw html element within my page to create the form.
Here is the page: https://www.activetalentagency.com/booking-request-overture/
Using the following code within the element:
<form method="post" action="https://overturehq.com/formapi/webform/submit.json"> <label>Name:</label> <input type="text" name="personName"> <label>Email Address:</label> <input type="text" name="personEmailWork"> <label>Phone Number:</label> <input type="text" name="personPhoneWork"> <label>Event Date:</label> <input type="datetime-local" name="booking1Date"> <label>What would you like to discuss with us?</label> <textarea name="personNote"></textarea> <input onclick="window.location.href = 'https://www.activetalentagency.com/booking-request-confirmation/';" type="submit" value="Send Enquiry"> <input type="hidden" name="key" value="MTI4NzQxNTE1NzI="> </form>Forum: Plugins
In reply to: [Advanced Forms for ACF] Form Action urlThanks for the quick reply @fabianlindfors
It is showing errors after submitting for fields I don’t even have listed in acf.
For example my page at the moment has 3 acf fields which link to a form.
The location rule is set: Form is equal to Booking (which is a form name I created).
If you look at the page and submit some test data you will see the errors:
https://www.activetalentagency.com/book/
I only need to pass 3 fields (To test as i will need to add more later) which are “field_5efa929573e1c”:”Date”,”field_5efa92c373e1f”:”Name”,”field_625ea12bd6221″:”Email”
- This reply was modified 4 years, 4 months ago by darrellwilde.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Form Action urlOk, i’ve got a step further however it looks like it is trying to pull lots of other fields from acf which arent listed on my form. Do you know why it might do this @fabianlindfors
My url is: https://www.activetalentagency.com/book/
Forum: Plugins
In reply to: [Advanced Forms for ACF] Form Action urlUPDATE**
I think i spotted the error @fabianlindfors this looks better. Just so i know i am right the hidden field I want to pass is MTI4NzQxNTE1Nzl=
and the form key is form_5efa926b56d9e do you think this looks ok now to add to my themes function.php?
function hidden_field( $form, $args ) {echo sprintf( ‘<input type=”hidden” name=”key” value=”MTI4NzQxNTE1Nzl=”>’);
}
add_action( ‘af/form/hidden_fields/key=form_5efa926b56d9e’, ‘hidden_field’, 10, 2 );- This reply was modified 4 years, 4 months ago by darrellwilde.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Form Action urlHey @fabianlindfors I tried using the above action:
The best way to do that is with this action: https://advancedforms.github.io/actions/af/form/hidden_fields/.
on my themes functions.php however it gave me an error.
<?php function hidden_field( $form, $args ) { echo sprintf( '<input type="hidden" name="key" value="MTI4NzQxNTE1Nzl="); } add_action( 'af/form/hidden_fields/key=form_5efa926b56d9e', 'hidden_field', 10, 2 );I think this may have something to do with the add_action line.
Could you take a look please?
Forum: Plugins
In reply to: [Advanced Forms for ACF] Form Action urlAh that’s perfect I’ll just add it to the themes functions.php and see how it goes!
Forum: Plugins
In reply to: [Advanced Forms for ACF] Form Action urlThanks @fabianlindfors which file would I need to add the action php to? I’ve never really used ACF before so any help would be great.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Form Action urlThanks for the reply @fabianlindfors
Can these extra parts just be added by shortcode or do I have to add them in the themes function.php?
Sorry if this is a silly question.
Thanks
Forum: Plugins
In reply to: [Advanced Forms for ACF] Form Action urlUPDATE* Think i might have sorted the hidden field by using [advanced_form form=”form_***********” exclude_fields=”*fieldname*”]
I had my homepage set as a listings page so found the issue!
Forum: Fixing WordPress
In reply to: Menu dropdown on click?I’ll give them a shout but they aren’t the quickest in replying.
Forum: Fixing WordPress
In reply to: Add in a simple bannerI have a child theme in place already. I’m just unsure of what part of my header.php I need to amend.
Forum: Plugins
In reply to: [Contact Form 7] Contact Form broken after 5.1.1 ÜpdateYep i’ve also got this… I installed https://wordpress.org/plugins/wpcf7-recaptcha/#description and this worked fine.
- This reply was modified 7 years, 8 months ago by darrellwilde.
Forum: Themes and Templates
In reply to: [Donovan] Make navigation menu centralThanks Thomas that worked perfectly!
Great work with the theme! Thanks again!!!!
- This reply was modified 7 years, 8 months ago by darrellwilde. Reason: resolved
Forum: Fixing WordPress
In reply to: 403 error only in IEI deleted the ht access and let it regenerate a new one but it still happened.
To rule out the template and wordpress i just uploaded a basic index.html file and it was still giving me the error on IE could my server host be blocking this somehow?