Title: rphrus's Replies | WordPress.org

---

# rphrus

  [  ](https://wordpress.org/support/users/rphrus/)

 *   [Profile](https://wordpress.org/support/users/rphrus/)
 *   [Topics Started](https://wordpress.org/support/users/rphrus/topics/)
 *   [Replies Created](https://wordpress.org/support/users/rphrus/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/rphrus/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/rphrus/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/rphrus/engagements/)
 *   [Favorites](https://wordpress.org/support/users/rphrus/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 30 total)

1 [2](https://wordpress.org/support/users/rphrus/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/rphrus/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] HH:MM:SS total to per week and per day](https://wordpress.org/support/topic/hours-and-minutes-total-to-per-week-and-per-day/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/hours-and-minutes-total-to-per-week-and-per-day/#post-17258328)
 * Hi,
 * Let’s scratch that. How about how do you isolate the hours to just hour and minute,
   for example 1.25 hours to 1 hour and 15 minutes, by way of the code.
 * Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] HH:MM:SS total to per week and per day](https://wordpress.org/support/topic/hours-and-minutes-total-to-per-week-and-per-day/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/hours-and-minutes-total-to-per-week-and-per-day/#post-17257437)
 * Hi,
 * I am sorry I wasn’t clear. It’s not the difference between the dates. What I 
   meant was, for example, the user will choose the month like December 2023 (not
   choosing the date), in which there’s 31 days in December, so the calculator will
   calculate the Total Hours Authorized (in hours and minutes )divided by 31. For
   February, there’s 28 days, so it will be Total Hours Authorized (in hours and
   minutes) divided by 28 but if it’s a leap year then for February it should be
   divided by 29, etc. which will give hours, minutes, and seconds per day. If it’s
   difficult to implement with picking the month and year on the calendar, then 
   would you consider do it manually by having the user to figure this out with 
   how many days for the month in question and take the Total Hours Authorized and
   divided by the number of days for that month?
 * For hours per week, it’s just Total Hours Authorized divided by 7 to get hours,
   minutes and seconds per week.
 * Thank you
    -  This reply was modified 2 years, 9 months ago by [rphrus](https://wordpress.org/support/users/rphrus/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] If then](https://wordpress.org/support/topic/if-then-3/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/if-then-3/#post-17237015)
 * Thank you!
    -  This reply was modified 2 years, 9 months ago by [rphrus](https://wordpress.org/support/users/rphrus/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] If then](https://wordpress.org/support/topic/if-then-3/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/if-then-3/#post-17236128)
 * Thank you for taking the time to answer my question. My fieldname1 is an input
   number and fieldname2 is a calculated value field. So, how would this work?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] If then](https://wordpress.org/support/topic/if-then-3/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/if-then-3/#post-17234817)
 * Hi,
 * How can I prevent the calculation from displaying the result when I have not 
   entered a number on fieldname1 yet?
 * Thank you
    -  This reply was modified 2 years, 9 months ago by [rphrus](https://wordpress.org/support/users/rphrus/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] multiplication by a factor within a range of numbers](https://wordpress.org/support/topic/multiplication-by-a-factor-within-a-range-of-numbers/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/multiplication-by-a-factor-within-a-range-of-numbers/#post-16112671)
 * Great!
    Thank you very much.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] multiplication by a factor within a range of numbers](https://wordpress.org/support/topic/multiplication-by-a-factor-within-a-range-of-numbers/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/multiplication-by-a-factor-within-a-range-of-numbers/#post-16108462)
 * Thank you so much. The only problem I have is the calculated field always display
   0 when I did not enter anything in the fieldname1 yet. I want it blank before
   I start entering in the number in the fieldname1.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shortcoder — Create Shortcodes for Anything] Rename other shortcodes with this shortcode](https://wordpress.org/support/topic/rename-other-shortcodes-with-this-shortcode/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [6 years ago](https://wordpress.org/support/topic/rename-other-shortcodes-with-this-shortcode/#post-13410768)
 * I have this shortcode from another plugin [speaker-mute] … [/speaker-mute]. So
   if I create using shortcoder would it be like [sc name=”myshortcode”] and close
   this shortcode with [/sc name=”myshortcode”], so it will be like [sc name=”myshortcode”]
   content here[/sc name=”myshortcode”]?
    -  This reply was modified 6 years ago by [rphrus](https://wordpress.org/support/users/rphrus/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] weekday function](https://wordpress.org/support/topic/weekday-function/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/weekday-function/#post-13284055)
 * Let’s put an example; field1 date picker, field2 enter number, field3 result 
   of field1+field2. How would you have it shows in the result with in Day of week,
   month, day, year?
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] html content field to display result](https://wordpress.org/support/topic/html-content-field-to-display-result/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/html-content-field-to-display-result/#post-13283231)
 * resolved. Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] field label for html content](https://wordpress.org/support/topic/field-label-for-html-content/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/field-label-for-html-content/#post-13222543)
 * The label shows underneath the result in the html content. How do you make it
   show on top? Thanks again.
    opps, got it.
 * Thanks
    -  This reply was modified 6 years, 1 month ago by [rphrus](https://wordpress.org/support/users/rphrus/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] result got cut off when viewing on mobile phone](https://wordpress.org/support/topic/result-got-cut-off-when-viewing-on-mobile-phone/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/result-got-cut-off-when-viewing-on-mobile-phone/#post-13219910)
 * Works!
    Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] result got cut off when viewing on mobile phone](https://wordpress.org/support/topic/result-got-cut-off-when-viewing-on-mobile-phone/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/result-got-cut-off-when-viewing-on-mobile-phone/#post-13219545)
 * My fieldname2 is enter weight in pounds.
    Here’s my equation: IF(AND(fieldname2),(
   function(){ var f2 = fieldname2; if(f2<11) return ‘no dose indicated for this
   weight’; if(f2>=11&&f2<=17.6) return ‘atovaquone 31.25mg/proguanil 12.5mg (one-
   half of pediatric tablet).’; if(f2>17.6&&f2<24.2) return ‘atovaquone 46.87mg/
   proquanil 18.75mg (three-quarters of pediatric tablet).’; if(f2>=24.2&&f2<46.2)
   return ‘atovaquone 62.5mg/proquanil 25mg (one pediatric tablet).’; if(f2>=46.2&&
   f2<68.2) return ‘atovaquone 125mg/proquanil 50mg (one-half of adult tablet).’;
   if(f2>=68.2&&f2<=88) return ‘atovaquone 187.5mg/proquanil 75mg (three-quarters
   of adult tablet).’; if(f2>88) return ‘atovaquone 250mg/proquanil 100mg (1 adult
   tablet).’; })(),”)
 * How can I edit this equation as you stated on # 2 above?
    Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] SG optimizer disables social login of of super socializer plugin](https://wordpress.org/support/topic/sg-optimizer-disables-social-login-of-of-super-socializer-plugin/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/sg-optimizer-disables-social-login-of-of-super-socializer-plugin/#post-13092847)
 * [@kellscolin2020](https://wordpress.org/support/users/kellscolin2020/) I tried
   to put it in my theme’s function.php and this is what I got.
    Warning: Use of
   undefined constant ��sgo_javascript_combine_excluded_inline_content�� – assumed‘
   ��sgo_javascript_combine_excluded_inline_content��’ (this will throw an Error
   in a future version of PHP) in /home/…
 * Warning: Use of undefined constant ��js_combine_exclude_inline_script�� – assumed‘
   ��js_combine_exclude_inline_script��’ (this will throw an Error in a future version
   of PHP) in /home/…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] SG optimizer disables social login of of super socializer plugin](https://wordpress.org/support/topic/sg-optimizer-disables-social-login-of-of-super-socializer-plugin/)
 *  Thread Starter [rphrus](https://wordpress.org/support/users/rphrus/)
 * (@rphrus)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/sg-optimizer-disables-social-login-of-of-super-socializer-plugin/#post-13092619)
 * Do I have to leave ‘theChampSiteUrl’ as is? or should I modify it? Thanks.

Viewing 15 replies - 1 through 15 (of 30 total)

1 [2](https://wordpress.org/support/users/rphrus/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/rphrus/replies/page/2/?output_format=md)