Title: hotcore's Replies | WordPress.org

---

# hotcore

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

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

 Search replies:

## Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gutenberg] All page updates fail](https://wordpress.org/support/topic/all-page-updates-fail/)
 *  Thread Starter [hotcore](https://wordpress.org/support/users/hotcore/)
 * (@hotcore)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/all-page-updates-fail/#post-11299637)
 * Hi, if I get some spare time, I’ll check if a plug-in is causing this.
    Thx!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form] Execute some user Javascript when SEND button is pressed](https://wordpress.org/support/topic/execute-some-user-javascript-when-send-button-is-pressed/)
 *  Thread Starter [hotcore](https://wordpress.org/support/users/hotcore/)
 * (@hotcore)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/execute-some-user-javascript-when-send-button-is-pressed/#post-5833769)
 * Hi,
    thanks for your offer to help! I solved the issue by placing the code to
   check some dependent fields in a calculated field. That works fine 😉 Since I’m
   not used to Javascript I spent quite some time in the trap: if (var = value) …
   That is a quite some nasty “feature” of Javascript… However, my first form is
   now succesfully completed. Thnk you very much for all the help! Bye, Arie
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form] Define extra Javascript functions](https://wordpress.org/support/topic/define-extra-javascript-functions/)
 *  Thread Starter [hotcore](https://wordpress.org/support/users/hotcore/)
 * (@hotcore)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/define-extra-javascript-functions/#post-5829221)
 * Supplementary question:
 * I wanted to add this function:
 * function norm(cd, v2, kd, f){
    var rc = 0; var yd = 0; if (f != 0) { yd = FLOOR(
   ABS(cd – f) / 365); if (yd > 17) {rc = rc + v2;} else {rc = rc + kd;}; } return
   rc; }
 * So, I created a norm.js file in the public js directory as described in the FAQ,
   but it does not work.
 * In the predefined .js files there is a special syntax. Do I need that? Is it 
   described somewhere?
 * Thanks very much for the help. Hope i’ll get the hang of it soon.
 * Best, Arie
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form] How check correctness of a date?](https://wordpress.org/support/topic/how-check-correctness-of-a-date-1/)
 *  Thread Starter [hotcore](https://wordpress.org/support/users/hotcore/)
 * (@hotcore)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/how-check-correctness-of-a-date-1/#post-5824933)
 * Thank you *very* much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form] How check correctness of a date?](https://wordpress.org/support/topic/how-check-correctness-of-a-date-1/)
 *  Thread Starter [hotcore](https://wordpress.org/support/users/hotcore/)
 * (@hotcore)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/how-check-correctness-of-a-date-1/#post-5824909)
 * Hi,
 * i defined a field as a “date time” field.
 * Max date = 0 (current date).
    Year range -110:+0. Dropdown active. Include time
   is off.
 * I see that dates internally are number of days, am i right?
 * I tried the datediff function this way in order to get the number of years between
   current date and the date from the field:
    window.alert(DATEDIFF(NOW(),fieldname30,‘
   dd/mm/yyyy’, ‘y’)[‘years’]); But i think this chokes the interpreter.
 * (Got that from webpage: [http://wordpress.dwbooster.com/faq/calculated-fields-form#q217](http://wordpress.dwbooster.com/faq/calculated-fields-form#q217))
 * Please help.
 * TIA,
    Arie
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form] Javascript error??](https://wordpress.org/support/topic/javascript-error-74/)
 *  Thread Starter [hotcore](https://wordpress.org/support/users/hotcore/)
 * (@hotcore)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-74/#post-5824908)
 * Hi,
    of course. My bad. Thx!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form] Columns don't display right](https://wordpress.org/support/topic/columns-dont-display-right/)
 *  Thread Starter [hotcore](https://wordpress.org/support/users/hotcore/)
 * (@hotcore)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/columns-dont-display-right/#post-5820188)
 * Ah, I interpreted the columny as an instruction to put field x in column number
   y.
 * Maybe a lot of people have trouble with interpreting that. Maybe a little more
   explanation in the help!
 * Thank you *very* much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form] Columns don't display right](https://wordpress.org/support/topic/columns-dont-display-right/)
 *  Thread Starter [hotcore](https://wordpress.org/support/users/hotcore/)
 * (@hotcore)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/columns-dont-display-right/#post-5820158)
 * I just found out that it works when I use column2 with the field in column 1,
   as if you specify where to continue after this field.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Suffusion] Posts header text is fine on PC but *very* small on mobile devices](https://wordpress.org/support/topic/posts-header-text-is-fine-on-pc-but-very-small-on-mobile-devices/)
 *  Thread Starter [hotcore](https://wordpress.org/support/users/hotcore/)
 * (@hotcore)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/posts-header-text-is-fine-on-pc-but-very-small-on-mobile-devices/#post-5400573)
 * Thanks Colinsp! I will do.

Viewing 9 replies - 1 through 9 (of 9 total)