Title: trojborg's Replies | WordPress.org

---

# trojborg

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GatewayAPI] All scripts and resources should only load on backend](https://wordpress.org/support/topic/all-scripts-and-resources-should-only-load-on-backend/)
 *  Plugin Author [trojborg](https://wordpress.org/support/users/trojborg/)
 * (@trojborg)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/all-scripts-and-resources-should-only-load-on-backend/#post-13202530)
 * Hi,
 * Thank you for your post.
    There is room for improvement on this issue and we 
   will keep that in mind for the upcoming changes. For now, the reason the scripts
   are loading on the frontend, is due to the country code selection when using 
   a signup / contact form.
 * Kind regards,
    Morten
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GatewayAPI] CF7 Mandatory field. Existing subscriber. WP 5.4.x](https://wordpress.org/support/topic/cf7-mandatory-field-existing-subscriber-wp-5-4-x/)
 *  Plugin Author [trojborg](https://wordpress.org/support/users/trojborg/)
 * (@trojborg)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cf7-mandatory-field-existing-subscriber-wp-5-4-x/#post-13194249)
 * Hi Lars,
 * Sorry for the delay, but back from vacation now.
    I’ve just checked your code
   on a clean installation of WordPress with GatewayAPI and CF7.
 * Its seems your code are using **“ (Left Double Quotation Mark)** instead of **”(
   Quotation Mark)** for attributes on gw_country and gw_phone tags.
 * Its the only thing I had to change in order for it to work on a clean installation
   of WordPress.
 * I’ve pasted the provided form code below, with the only change being the one 
   i just mentioned above. Please let me know if this was the issue?
 *     ```
       <h4> Alle felter skal udfyldes </h4>
       <small> [text user-login id:user-login readonly default:user_login]</small>
   
       <label>Fornavn
       [text* your-fname default:user_first_name]
       </label>
   
       <label> Efternavn
       [text* your-lname default:user_last_name]
       </label>
   
       <label> E-mail
       [email* your-email default:user_email]
       </label>
   
       <p>Mobilnummer (45)
       [gw_country country default:45 "45"][gw_phone mphone default:user_pie_text_10] </p>
   
       [gw_groups gruppe hidden "212"]
       [gw_action gw_action-355 action:signup verify:yes]
       <p>[acceptance acceptance-819] Jeg accepterer, at dette mobilnummer må anvendes til SMS-adviseringer </p>
   
       [response]
   
       [submit “Send tilmelding”]
       ```
   
 * Kind regards,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GatewayAPI] CF7 Mandatory field. Existing subscriber. WP 5.4.x](https://wordpress.org/support/topic/cf7-mandatory-field-existing-subscriber-wp-5-4-x/)
 *  Plugin Author [trojborg](https://wordpress.org/support/users/trojborg/)
 * (@trojborg)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/cf7-mandatory-field-existing-subscriber-wp-5-4-x/#post-13063592)
 * Hi Lars,
 * It seems your missing the identifier from the field.
    Could you please try adding**
   gw_phone-70** to the shortcode and see if that helps?
 *     ```
       <p>Mobilnummer (45)
       [gw_country country default:45 “45”][gw_phone gw_phone-70 mphone default:user_pie_text_10] </p>
       ```
   
 * Kind regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GatewayAPI] CF7 Mandatory field. Existing subscriber. WP 5.4.x](https://wordpress.org/support/topic/cf7-mandatory-field-existing-subscriber-wp-5-4-x/)
 *  Plugin Author [trojborg](https://wordpress.org/support/users/trojborg/)
 * (@trojborg)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/cf7-mandatory-field-existing-subscriber-wp-5-4-x/#post-13062877)
 * Hi Lars,
 * What happens if you leave out the asterisk (*) from the shortcode of gw_phone?
   
   Ofcause the integration should follow guidelines of CF7, but the field is right
   now implemented as mandatory if your action is signup and should allready print
   out error messages according to the ones you requested.
 * Could you please provide the entire body of the form your having issues with?
 * Kind regards
    Morten
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GatewayAPI] CF7 Mandatory field. Existing subscriber. WP 5.4.x](https://wordpress.org/support/topic/cf7-mandatory-field-existing-subscriber-wp-5-4-x/)
 *  Plugin Author [trojborg](https://wordpress.org/support/users/trojborg/)
 * (@trojborg)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/cf7-mandatory-field-existing-subscriber-wp-5-4-x/#post-13053254)
 * Hey Lars,
 * Thank you very much for your input.
    We didn’t get to address the issue you reported
   in yesterdays release, but I’ll look into it over the next few days and post 
   an update 🙂
 * Kind regards,
    Morten

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