• Resolved Adam

    (@kbil4eva)


    I have a lot of space after my upload widget in the form.

    In your code its suppose to add a fieldset tag before and after widgets however it adds 2 after the image upload spacing the rest down farther. Can you fix this or direct me in how to. Take a look at the code below to see proof.

    <!– widgets start –>
    <fieldset>
    <iframe id=’uploadfiles_inline’ name=’uploadfiles_inline’ frameborder=’0′ <marginwidth=’0′ marginheight=’0′ width=’100%’ height=’190′ <src=’http://DOMAIN.com/wp-content/plugins/tdo-mini-forms/tdomf-upload-<inline.php?tdomf_form_id=1&index=’>/iframe>
    </fieldset>
    
    </fieldset>
    
    !– content start –>
Viewing 1 replies (of 1 total)
  • Thread Starter Adam

    (@kbil4eva)

    Ok in include/tdomf-upload-functions.php I found 2 lines that will be of interest.

    #551 – $height = 160 + (intval($options[‘max’]) * 30);
    #553 – $output .= $after_widget;

    I have changed my lines to fit my form design however I would test it with your settings to make sure all displays fine. In line 1 I changed the height to 90 and line 2 i simply added // at the beginning to comment it out and stop the display of the closing fieldset tag. I would suggest that the owner update this widget with the ability to set the height in the options so the iframe is easily changed to remove the excessive spacing for the end user.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: TDO Mini Forms] Upload Widget Size Issue’ is closed to new replies.