• Hi Everyone,

    I am having a hard time getting a form selection working into wordpress.
    Each time I add the code, all the wordpress widgets are dissapearing.

    Here is the code:
    <form action=””>
    <input style=”color:white” type=”radio” name=”form” onClick=”javascript:toggle_visibility(‘form1’);” value=”form1″><b>pay using PAYPAL</b>

    <input style=”color:white” type=”radio” name=”form” onClick=”javascript:toggle_visibility(‘form2’);” value=”form2″/> <b>pay by cash on delivery</b>

    <input style=”color:white” type=”radio” name=”form” onClick=”javascript:toggle_visibility(‘form3’);” value=”form2″/> <b>Pay at the chosen outlet</b>
    </form>

    <div id=”form1″ style=”height:5012px; display:none; visibility:hidden;”><iframe allowtransparency=”true” src=”https://form35608354&#8243; frameborder=”0″ style=”width:100%; height:5012px; border:none;” scrolling=”no”></iframe></div>

    <div id=”form2″ style=”height:5012px; display:none; visibility:hidden; “><iframe allowtransparency=”true” src=”https://form1564357&#8243; frameborder=”0″ style=”width:100%; height:5012px; border:none;” scrolling=”no”></iframe></div>

    <div id=”form3″ style=”height:5012px; display:none; visibility:hidden; “><iframe allowtransparency=”true” src=”https://form2759363&#8243; frameborder=”0″ style=”width:100%; height:5012px; border:none;” scrolling=”no”>

    Any idea why this is happening please?

    Thank you,

    Ben

Viewing 1 replies (of 1 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You have display none and visibility hidden styles, while not closing the last <div>:

    <div id="form3" style="height:5012px; display:none; visibility:hidden; ">
     <iframe allowtransparency="true" src="https://form2759363" frameborder="0" style="width:100%; height:5012px; border:none;" scrolling="no">

Viewing 1 replies (of 1 total)
  • The topic ‘Unable to add a form in wordpress’ is closed to new replies.