digitaled
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated Fields Form] Can i let a customer pay any amount they wantThank you you got it working
Forum: Plugins
In reply to: [Calculated Fields Form] How can i add 6.5 % tax to a total?I am using the PREC(fieldname14*1.065, 2)
I think i have it now.
I change the amount paying today to pull the number from the new tax area fieldname in place of the total fieldname.
It seems to be working right now.Thanks
Forum: Plugins
In reply to: [Calculated Fields Form] How can i add 6.5 % tax to a total?In my setting for pay in full the value is set to – total-value.
It needs to be total-value of the amount with tax I think is the problem.How can I tell it that the total-value needs to come from the new with tax amount?
- This reply was modified 4 years, 9 months ago by digitaled.
Forum: Plugins
In reply to: [Calculated Fields Form] How can i add 6.5 % tax to a total?Ok I have it working but not working all the way right.
We let people pay a down payment they can pick $200 or $500 or pay in full.When they pick $200 or $500 it shows the right amount but when they pick pay in full it is still showing an amount due
https://destinflbeachweddings.com/wedding-package-payments/For a total of $2195 i now get a tax of 2337.67 but when set to paying in full i get an amount paying today of $2195 without the tax added in and I get a still due amount of $142.67000000000007
If you pick the $200 or $500 down then it all seems to work showing th eright numbers.
Thanks
Forum: Plugins
In reply to: [Calculated Fields Form] How can i add 6.5 % tax to a total?I see no % sign to add tax.
So i have a total of say $100 i need to ad 6.5 % sales tax to this to show a new version of the total with the % added in?
I created a new calculated area but do not how to make it do a 6.5 %.
ThanksForum: Plugins
In reply to: [Quick and Easy FAQs] Any way to export everything out to use on another siteHi yaa I did that and that did not work.
I see now they used this as part of the fusion plugin setup included in it so when I try and load it back in it will not work. I think as everything is named differentAny workaround for that?
Thanks
Forum: Plugins
In reply to: [Calculated Fields Form] Can you help me with this % settingOk thanks the first one is working.
Forum: Plugins
In reply to: [Calculated Fields Form] Can you help me with this % settingI added a link to your plugin at the top of the page. I am making this for free for anyone to use with features I will use myself.
Thanks for making this plugin and for your help.Forum: Plugins
In reply to: [Calculated Fields Form] Not calculate numbers rightThank you very much, it is working now.
Forum: Plugins
In reply to: [Calculated Fields Form] Not calculate numbers rightfieldname21 is = Enter in the cost of the coin you want to buy
fieldname30 is = Stop loss price to test – not working do not use yet
fieldname4 is = Here is the amount of coins you can buy with your investment money
Forum: Plugins
In reply to: [Calculated Fields Form] Not calculate numbers rightI added it back in so you see what it is doing
fieldname21-fieldname30*fieldname4 should not be -836.1988268156425 with the numbers from the first post
Forum: Plugins
In reply to: [Advanced Forms for ACF] Not working all the wayI see i forgot the key so put that in still not working to post
<?php
function generate_post_from_form_submission() {
// Get the submitted field values
$post_title = af_get_field( ‘title’ );
$post_content = af_get_field( ‘content’ );// Set up a form using the values for post title and content
// Replace post_type with whatever type of post you want to generate
$post_data = array(
‘post_type’ => ‘post’,
‘post_status’ => ‘publish’,
‘post_title’ => $post_title,
‘post_content’ => $post_content,
);// Create post with the previously retrieved values
wp_insert_post( $post_data );}
add_action( ‘af/form/submission/key=form_592a78ec63524’, ‘generate_post_from_form_submission’, 10 );Forum: Plugins
In reply to: [Advanced Forms for ACF] Not working all the wayI put it back in and it did not crash the site but it is still not creating a post it is still just posting into the Entries area in the back.
<?php
function generate_post_from_form_submission() {
// Get the submitted field values
$post_title = af_get_field( ‘title’ );
$post_content = af_get_field( ‘content’ );// Set up a form using the values for post title and content
// Replace post_type with whatever type of post you want to generate
$post_data = array(
‘post_type’ => ‘post’,
‘post_status’ => ‘publish’,
‘post_title’ => $post_title,
‘post_content’ => $post_content,
);// Create post with the previously retrieved values
wp_insert_post( $post_data );}
add_action( ‘af/form/submission/key=YOUR_FORM_KEY’, ‘generate_post_from_form_submission’, 10 );Forum: Plugins
In reply to: [Advanced Forms for ACF] Not working all the wayI out that in and it killed my site.
Parse error: syntax error, unexpected ” );’ (T_CONSTANT_ENCAPSED_STRING) in /home3/mo91412/public_html/rvparkphotos.com/wp-content/themes/generatepress/functions.php on line 12
Had to remove all of it to get the site back up
Forum: Plugins
In reply to: [Advanced Forms for ACF] Not working all the wayHere is the code i put in.
<?php
function generate_post_from_form_submission() {
// Get the submitted field values
$post_title = af_get_field( ‘post_title’ );
$post_content = af_get_field( ‘post_content’ );// Set up a form using the values for post title and content
// Replace post_type with whatever type of post you want to generate
$post_data = array(
‘post_type’ => ‘post’,
‘post_status’ => ‘publish’,
‘post_title’ => $post_title,
‘post_content’ => $post_content,
);// Create post with the previously retrieved values
wp_insert_post( $post_data );}
add_action( ‘af/form/submission/key=form_592a78ec63524’, ‘generate_post_from_form_submission’, 10 );/**
* GeneratePress functions and definitions
*
* @package GeneratePress
*/// No direct access, please
if ( ! defined( ‘ABSPATH’ ) ) exit;define( ‘GENERATE_VERSION’, ‘1.3.46’ );
define( ‘GENERATE_URI’, get_template_directory_uri() );
define( ‘GENERATE_DIR’, get_template_directory() );
—————————————————————It just adds it to the back forms area. I need it to make a post.
Here is a test fill in, https://rvparkphotos.com/fill-in/
Thanks