# Add-on Functions

## Publish Direct Edit Forms

One of the features of eForm easySubmission is giving capability to publish a form in way that it will

- Show a new form if the current user has not submitted it before.
- Will show the edit form of the most recent submission if current user has submitted it before.

This becomes really handy to publish pages for Reviews or Profile Data Update.

### Insert Direct Edit Form

Create any post/page of your choice. There you will find the eForm Shortcode Button.

Click on it and find Direct Submission Edit.

Click on the button and it will open up the configuration window.

- Select Form: Select the form you wish to insert.
- Show Login Form: Enable this to show login form if user is not logged in.
- Do not show the new form for non logged in user: If user is not logged in, then completely block the user from submitting the form.

Once done, click on OK and it will insert the form.

### Practical Use Case

When you have inserted a form in this way, many things can be accomplished.

- Use it to publish a user profile updater form.
- Publish a one-time-only review form or product feedback form.

and much more. Let me know how you are using it, so that we can improve the functionality further.

## Extend Format Strings

By default eForm gives a bunch of format strings which you can use to insert custom data in emails, success message, summary tables etc. But if you want to use actual form elements to create custom format string, then this add-on becomes handy.

### Enable Option

- Go to Form Settings > Format Strings.
- Enable the new option Add Format Strings Based on Form Elements.

This will bring in new option. By default, Form Elements to Convert into Format Strings will be set to `all`. This will convert all available form elements into format strings. This is not recommended for large forms as it will increase memory usage. In this case, you can specify target form elements.

The ID of an element is given in the form builder in a way `(F){0}`,`(M){1}` etc. In this case, you need to enter here, `F0 M1`. You can enter multiple elements separated by space or comma.

Other configuration options include:

- Option Delimiter: The delimiter with which multiple options will be concatenated.
- Row Delimiter: The delimiter with which multiple rows will be concatenated.
- Range Delimiter: The delimiter with which range values will be concatenated.
- Entry Delimiter: The delimiter with which multiple entries will be concatenated.

easySubmission takes special care for the upload element, where nice looking image tags with hyperlinks will be generated automatically.

### Using the Format Strings

When you have added the elements, new format strings will become available in the format `%F0% %M1%` etc. Just add `%` before and after the element ID and you are all set.

Now add them inside success message, update message or emails.

### Get more with eForm through our collection of Addons

#### Love eForm? Checkout our addons

Checkout our collection of eForm Addons designed to help you get more. You can take reports offline, award users with myCRED points and do more with direct export to a dedicated mySQL table. More to come soon.

iPanelThemes Web Solutions Pvt. Ltd.