spigen604
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Calculated Fields Form] Fieldname value into another formIt works fine now. Thank you very much for your help!
Forum: Plugins
In reply to: [Plugin: Calculated Fields Form] Fieldname value into another formThe site is still locally hosted at the moment. I’m glad to know the structure of the equation is correct so I can focus on debugging other parts.
I can show you the images over here: http://imgur.com/a/kJBoF
The first image is the field in question that I want to insert into another form/div/textbox.
The second image is the “submit button” that contains the jquery function for insertion.
Forum: Plugins
In reply to: [Calculated Fields Form] insert fieldname value in HTML contentIt is hosted locally at the moment. I want to insert the values from certain fields in Calculated Fields Form into Contact Form 7. At least I know the structure of my code is correct so I can start debugging in other places
Forum: Plugins
In reply to: [Calculated Fields Form] insert fieldname value in HTML contentI’m using the example you have written here. The problem is, I’m having a hard time retrieving the values from fields in the Calculated Fields Form. My understanding is, every field is assigned a field number and we can use these field numbers as variables to retrieve their corresponding values.
(function(){ jQuery( '#f1' ).html("hello hello hello"); })()This is fine and returns a string “hello hello hello”.
(function(){ jQuery( '#f1' ).html(fieldname21); })()This does not work for me. It doesn’t return anything and seems to not recognize fieldname21. I tried replacing fieldname21 with other fields on my form and nothing comes up. There are values written down on those fields so it shouldn’t be returning null values. Am I missing anything?