Title: [Plugin: WordPress Form Manager] Add link or url
Last modified: August 20, 2016

---

# [Plugin: WordPress Form Manager] Add link or url

 *  [khermberg](https://wordpress.org/support/users/khermberg/)
 * (@khermberg)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-add-link-or-url/)
 * I love this form manager–the ability to turn the submitted form into a post is
   ideal for my application. In addition to users attaching files to the form, I
   would very much like for them to be able to insert links.
 * Is there a way to either: 1) include a “Link” field much like the “upload file”
   field or 2) use an editor with the ability to easily insert a link (much like
   is possible with the editor for this forum)?
 * [http://wordpress.org/extend/plugins/wordpress-form-manager/](http://wordpress.org/extend/plugins/wordpress-form-manager/)

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

 *  Thread Starter [khermberg](https://wordpress.org/support/users/khermberg/)
 * (@khermberg)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-add-link-or-url/#post-2942621)
 * Does anyone have an answer to this, or an alternative method for accomplishing
   it?
 *  Plugin Author [hoffcamp](https://wordpress.org/support/users/hoffcamp/)
 * (@hoffcamp)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-add-link-or-url/#post-2942624)
 *  Plugin Author [hoffcamp](https://wordpress.org/support/users/hoffcamp/)
 * (@hoffcamp)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-add-link-or-url/#post-2942625)
 * You could create a new item type, but you will have to do this every time you
   update the plugin. Copy and paste the following at the end of types/text.php:
 *     ```
       $fm_controlTypes['url'] = 'fm_urlControl';
       class fm_urlControl extends fm_textControl
       {
       	public function getTypeName(){ return "url"; }
       	public function getTypeLabel(){ return "URL"; }
       	public function parseData($uniqueName, $itemInfo, $data){
       		return '<a href="' . htmlspecialchars( $data ) . '">' . $data . '</a>';
       	}
       }
       ```
   
 *  Thread Starter [khermberg](https://wordpress.org/support/users/khermberg/)
 * (@khermberg)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-add-link-or-url/#post-2942626)
 * Thanks. This is helpful. The code addition you suggested works well on an initial
   test and only using it will reveal if there are unintended consequences.
 * Having to change the file each time the plugin is updated is not ideal, but it
   is manageable. Would you be wiling to incorporate this into your next update 
   so that the code is then there through future updates? It is a feature some folks
   will find useful and that will not likely cause trouble for folks who do not 
   want it.
 * Thanks for your help and your plugin.

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

The topic ‘[Plugin: WordPress Form Manager] Add link or url’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-form-manager.svg)
 * [Form Manager](https://wordpress.org/plugins/wordpress-form-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-form-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-form-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-form-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-form-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-form-manager/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [khermberg](https://wordpress.org/support/users/khermberg/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-add-link-or-url/#post-2942626)
 * Status: not resolved