Jump to content

Need Some Help With a Basic Coding Issue?

bmichaels556
Go to solution Solved by BobVonBob,

I think this plugin might be able to help you

 

https://wordpress.org/plugins/calculated-fields-form/

Well see... I'm having a bit of an issue and hoping someone could help me out? 

 

I run a site that uses WordPress and wanted to add a foot-pounds energy calculator on it. Basically, I'd like for it to be pretty simple. Put in a projectile weight, put in a velocity (switchable between feet per second and meters per second), and have it spit out a Foot-Pounds Energy value.

 

The formula is:  Energy = Weight times Velocity Squared divided by 450395 (fixed constant). Presumably this applies to weight in "grains", and velocity in feet per second. That seems easy enough to write with say, Python. But as to how I'd get that to work on a WordPress site, I wouldn't know.. Further, I wouldn't know how to be able to seamlessly switch between feet per second, and meters per second. I also don't think this could be done in pure HTML, could it? I took a class and was able to come up with a professional-looking site using only HTML, so I guess I "know enough to be dangerous", but that's about it. Plus, it's been a while..

 

Really hoping someone could help me with this? The best I could really offer is a followed link to a site of yours, or something like that. Not that it's worth much, but it's the best I can do at current time as I'm just trying to get this site off the ground.

 

Thanks so much for your help!  :) 

Link to comment
Share on other sites

Link to post
Share on other sites

i think you are better of with a plugin for wordpress, there are many, and i'm confident you will find something that works for you.

Link to comment
Share on other sites

Link to post
Share on other sites

I think this plugin might be able to help you

 

https://wordpress.org/plugins/calculated-fields-form/

¯\_(ツ)_/¯

 

 

Desktop:

Intel Core i7-11700K | Noctua NH-D15S chromax.black | ASUS ROG Strix Z590-E Gaming WiFi  | 32 GB G.SKILL TridentZ 3200 MHz | ASUS TUF Gaming RTX 3080 | 1TB Samsung 980 Pro M.2 PCIe 4.0 SSD | 2TB WD Blue M.2 SATA SSD | Seasonic Focus GX-850 Fractal Design Meshify C Windows 10 Pro

 

Laptop:

HP Omen 15 | AMD Ryzen 7 5800H | 16 GB 3200 MHz | Nvidia RTX 3060 | 1 TB WD Black PCIe 3.0 SSD | 512 GB Micron PCIe 3.0 SSD | Windows 11

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...
On 1/23/2019 at 12:39 PM, BobVonBob said:

I think this plugin might be able to help you

 

https://wordpress.org/plugins/calculated-fields-form/

Totally forgot to reply, but I did end up using the plugin you recommended. After just about 15-20 mins of playing with it, it worked like a charm! Exactly what I needed. Much appreciated! :) 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×