What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    I can not submit my form because of the condition that I had set to Facebook Like Box widget

    Asked by karenting0308 on November 02, 2016 at 12:38 AM

    Can you tell me why this setting is not available?



  • Profile Image
    JotForm Support

    Answered by candy on November 02, 2016 at 06:14 AM


    I've cloned your form and tested on my side. It is the normal case that is working. The working principle of that condition is as the following: If one person fills phone field, the Facebook widget will be required and your user can not submit your form without filling Facebook widget.  However, If your user does not fill the phone field, s/he also doesn't need to fill Facebook widget.  Please find the screen below:

    Could you please explain your issue further?


  • Profile Image

    Answered by karenting0308 on November 02, 2016 at 09:47 PM

    Hi Candy,

    Please use the following URL: https://form.jotform.me/62801088470455

    I have set a condition :if you fill in phone number and you must like Facebook 

    Beside, I try to fill in phone number and like Facebook but i cannot submit my form.

  • Profile Image
    JotForm Support

    Answered by candy on November 03, 2016 at 01:57 AM

    Dear Karen, 

    You had set a condition: "if you fill in the phone number and you must like Facebook." However, you set the phone number as "required". You do not give the users the option to make the phone number field empty. So that, your form will not be submitted.

    As a solution, you should remove the "required" feature of the phone number field.

    Please check again. If you need more clarification, do not hesitate to contact us.

    Thanks in advance.


  • Profile Image

    Answered by karenting0308 on November 03, 2016 at 05:27 AM

    Hi Candy

    I have been removed "required" function but I still cannot submit my form.

    You can test this URL: https://form.jotform.me/62801088470455

  • Profile Image
    JotForm Support

    Answered by candy on November 03, 2016 at 06:57 AM

    Dear Karen,

    We are sorry for the inconvenience you had. I've cloned your form in order to test on my side and I've understood the problem. Firstly, I was able to submit your form without entering the phone number as you can see the screen below and I've got my autoresponder email into my email box.

    However, when I entered phone number I could not Submit the form, despite I had liked and even shared the "Testing" page of Facebook. I was able to replicate your issue on my side as you can see below:

    So that, I have forwarded this issue to our software developer team. They are going to check this problem and we are going to inform you as soon as the issue is solved via this threat.

    Thank you very much.

  • Profile Image
    JotForm Support

    Answered by TitusNdoka on November 04, 2016 at 05:48 AM

    I'm afraid that the Facebook like widget cannot work with if/else conditions - this is because Facebook disabled like-gating (requiring users to like a page before being granted access to something else).

    You can only show or hide the widget, but the widget does not have any output (we cannot tell when users click on the like box)

  • Profile Image

    Answered by karenting0308 on November 07, 2016 at 04:09 AM

    Hi TitusNdoka,

    It's that mean related to Facebook policy, right?


  • Profile Image
    JotForm Support

    Answered by candy on November 07, 2016 at 05:29 AM

    Hello again Karen, 


    Yes, related to Facebook policy. Facebook allow only to set the following options in Facebook Like Box:

    The URL of the Facebook Page

    The pixel width of the plugin. Min. is 180 & Max. is 500 

    The pixel height of the plugin. Min. is 70

    Tabs to render i.e. timeline, events, messages. 

    Hide cover photo in the header

    Show profile photos when friends like this

    Hide the custom call to action button (if available)

    Use the small header instead


    As you can see above there are no settings such as "if the user liked the page?" or "if the user shared the page?"

    So, that is the reason we can not check if the user already liked or shared the page with Conditions.


    For more information about Facebook Like Box, please check the following link: https://developers.facebook.com/docs/plugins/page-plugin