cybokron
Forum Replies Created
-
Forum: Plugins
In reply to: [GravityWP - Count] A feature I wanted 1 year ago – Variable ColorFriendly Reminder
Forum: Plugins
In reply to: [GravityWP - Count] A feature I wanted 1 year ago – Variable ColorI saw. Thank you. Can we pull the data “10” from a field entry?
[gravitywp_count formid=’1′ filter_field2=’166′ filter_value2=’SAMSUNGGALAXYS22′ filter_field=’133′ filter_value=’1′]
Can we merge two separate forms?
I want to pull the minimum number of values from another form input and combine them.
EXAMPLE:
FORM ID 1:
[gravitywp_count formid=’1′ filter_field2=’166′ filter_value2=’SAMSUNGGALAXYS22′ filter_field=’133′ filter_value=’1′]FORM ID 2:
Minimum Quantity Field ID: 134
Product Name Filter field: SAMSUNGGALAXYS22My goal is to make this coloring dynamic.
I want it to get the minimum number of quantities from an entry in another form.
How do we do this?
Do we do it with nested shortcode?
Or do we call and do two separate forms within a single shortcode?
Forum: Plugins
In reply to: [GravityWP - Count] Quantity Entry & Email Notification FieldI can also use that field to notify with conditional logic if I do this.
Forum: Plugins
In reply to: [GravityWP - Count] Quantity Entry & Email Notification FieldCan we put Gravity Count as the value in a field inside a form? Does it work?
Example:
Quantity Field: default value area {Product Name A (Quantity):1.3}
Possible?
Or in which field we put it will work?
Forum: Plugins
In reply to: [GravityWP - Count] Count of single text field (Quantity)Working. Thanks.
Forum: Plugins
In reply to: [GravityWP - Count] Count of single text field (Quantity)Does anyone know?
Forum: Plugins
In reply to: [GravityWP - Count] Count of single text field (Quantity)I’m waiting for your answer. Thanks.
Forum: Plugins
In reply to: [GravityWP - Count] Count of single text field (Quantity)[gravitywp_count formid=”24″ filter_field2=’11’ filter_value2=’B Product’ filter_field3=’18’ filter_value3=’18’]
Form ID: 24
Product Name Dropdown ID: 11
Quantity Single Text box ID: 18Example these.
STEP:
First, chooses 1 product from the dropdown. Second, entering how many quantities there in the textbox.
DEMO:
https://www.dropbox.com/s/bra2r5usjnc0rue/2021-04-10_01-08-21.jpg?dl=01 product selected in product name is entered 5 times. I want to get the sum of the quantity of this product.
For example 3 same product entries:
B Product = Quantity 1000
B Product = Quantity 500
B Product = Quantity 10Total B Product Quantity= 1060
How do I get this quantity total?
FIELD IDS:
Form ID: 24
Product Name Dropdown ID: 11
Quantity Single Text box ID: 18SOLVED:
Deactived other smilar plugin. After working.
I found solution.
Date, time and remote ip field.
Add function.php
/* IP Get Start */ function get_the_user_ip() { if ( ! empty( $_SERVER['HTTP_CLIENT_IP'] ) ) { //check ip from share internet $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif ( ! empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) { //to check ip is pass from proxy $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } else { $ip = $_SERVER['REMOTE_ADDR']; } return apply_filters( 'wpb_get_ip', $ip ); } add_shortcode('show_ip', 'get_the_user_ip'); /* IP GET Finish */ /* Date GET Start */ function displaydate(){ return date('d.m.Y'); } add_shortcode('date', 'displaydate'); /* Date GET Finish */ /* Time GET Start */ function displaytime(){ return date('H:i'); } add_shortcode('time', 'displaytime'); /* Time Get Finish */
Dynamic Field Shortcode in Contact Form 7 example:
[dynamichidden date1 “date”]
[dynamichidden time1 “time”]
[dynamichidden ip “show_ip”]I m searching user-agent function.