This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

theme not being applied to form


  1. daliasherman
    Member

    any ideas why my saved theme is not being applied to my forms and how to fix it?
    thanks!!

    Posted 11 years ago #
  2. yuniar

    This is usually browser cache. The CSS files of your theme most likely still using the old cached files.
    Try to refresh your form several times or press the shift button while refreshing your form.


    MachForm Founder

    Posted 11 years ago #
  3. daliasherman
    Member

    didn't work, any other ideas?

    Posted 11 years ago #
  4. yuniar

    can you post the URL to your form which having the problem? I'll check it.
    Or let me know via email directly.


    MachForm Founder

    Posted 11 years ago #
  5. daliasherman
    Member

    I am emailing it to you
    thanks!!

    Posted 11 years ago #
  6. yuniar

    problem solved :)


    MachForm Founder

    Posted 11 years ago #
  7. daliasherman
    Member

    a million thanks for all your help!!

    Posted 11 years ago #
  8. mypaintboy
    Member

    Yuniar,
    I run into this problem too. Usually on single page I can't get my submit button to always display the one created for the theme.

    Doesn't work: http://m.paintboy.com/invoice.html

    Works: http://m.paintboy.com/admin2.html

    Posted 11 years ago #
  9. yuniar

    Usually the browser still caching the old CSS file of your theme. Try to refresh again.
    I've just checked those two links and I can see the buttons now. Have you fixed it?


    MachForm Founder

    Posted 11 years ago #
  10. mypaintboy
    Member

    Yuniar, I tried that before posting. Still not working http://m.paintboy.com/admin3.html.

    Posted 11 years ago #
  11. yuniar

    Ah... you are right. This seems to be a bug and only happened when you have "form review" being enabled.
    To fix this, you can edit "includes/view-functions.php" file around line 4454:

    }else{
    	$submit_button_markup = '<input id="submit_form" class="button_text" type="submit" name="submit_form" value="'.$mf_lang['continue_button'].'" />';
    }

    change it to become:

    }else{
    	if($row['form_button_type'] == 'text'){
    		$submit_button_markup = '<input id="submit_form" class="button_text" type="submit" name="submit_form" value="'.$mf_lang['continue_button'].'" />';
    	}else{
    		$submit_button_markup = '<input class="submit_img_primary" type="image" alt="Submit" id="submit_form" name="submit_form" src="'.$row['form_button_image'].'" />';
    	}
    }

    or just contact me and I'll send you the file.

    btw,, those are very nice mobile pages you have there!


    MachForm Founder

    Posted 11 years ago #
  12. mypaintboy
    Member

    That did the trick. Thanks!

    Posted 11 years ago #

RSS feed for this topic

Reply