Hi,
I've been working up a fairly complex multipage form with AJAX submits but I've found I can't hide the submit button using the Load State in the form. I'm not much on AJAX, but I suspect this is because its not actually firing the load event when it refreshes the page. Is this correct, or should hiding elements on load work with AJAX in Chronoforms?
I can work around this by setting the initial state to hidden with CSS and then showing the button from a change event using javascript, but it would be neater if I could do it in the form.
Thanks
John
I've been working up a fairly complex multipage form with AJAX submits but I've found I can't hide the submit button using the Load State in the form. I'm not much on AJAX, but I suspect this is because its not actually firing the load event when it refreshes the page. Is this correct, or should hiding elements on load work with AJAX in Chronoforms?
I can work around this by setting the initial state to hidden with CSS and then showing the button from a change event using javascript, but it would be neater if I could do it in the form.
Thanks
John
Hi John,
I think you are correct, the load state is only set when there is a 'hard reload'. You would have to reset it with CSS/JavaScript JavaScript after an Ajax submission.
Bob
I think you are correct, the load state is only set when there is a 'hard reload'. You would have to reset it with CSS/JavaScript JavaScript after an Ajax submission.
Bob
Ok thanks Bob, I did it with javascript.
This topic is locked and no more replies can be posted.