Forum Replies Created
- AuthorPosts
tampalab
ParticipantNop, still not working. Submit button still appears at the beginning.
But I enabled conditional logic of HTML element so button only appears if stated variables are selected.
For now everything is good.
Thank you
tampalab
ParticipantHi Ally,
I did it but it is not working. this is how it looks. “www.gelinga.com/satis-yap
If you want, I can send you login details.
Thank you
- This reply was modified 11 years, 6 months ago by
tampalab.
tampalab
ParticipantHi Ally,
I guess I couldn’ t get it how to place these codes to form. Could you please explain how I can set the button shortcode to form.
Thank you.
tampalab
ParticipantHi Ally,
I added as you mentioned below but logic condition is working but submit button is not changed.
This is what I added:
<script>
jQuery(document).ready(function ($) {
$('.iphorm_1_2,.iphorm_1_3,.iphorm_1_4,.iphorm_1_5').change(function () {
if ($(this).val() === '') {
$('.iphorm-submit-wrap-1').hide();
} else {
$('.iphorm-submit-wrap-1').show();
}
});$('a[button size="medium" style="primary" text="Send" link="#submit"]').click(function () {
$(this).closest('form').submit();
return false;
});
});
</script>This is short code of my theme button:
[button size="medium" style="primary" text="Medium button" link="http://"]tampalab
ParticipantOk, it is done.
Thank you very much
tampalab
ParticipantHi Ally,
I added CSS to my site but nothing changed 🙁
Tolga
tampalab
ParticipantThank you Ally. This is exactly what I need.
tampalab
Participanttampalab
ParticipantHi Ally,
Thank you for response but I am using submit button conditionally as you mentioned on this post:
This is JavaScript at end of the form. How can I use this two java script together.
<script>
jQuery(document).ready(function ($) {
$(‘.iphorm_1_2,.iphorm_1_3,.iphorm_1_4,.iphorm_1_5’).change(function () {
if ($(this).val() === ”) {
$(‘.iphorm-submit-wrap-1’).hide();
} else {
$(‘.iphorm-submit-wrap-1’).show();
}
});
});
</script>Thank you
tampalab
ParticipantHi Benjamin,
This can be your solution. Please take a look.
I am also wondering how I can use my own theme button shortcode as submit button.
Thanks
tampalab
ParticipantThank you Ally, it solved 🙂 I will follow your instructions for popup page
- This reply was modified 11 years, 6 months ago by
- AuthorPosts