/    Sign up×
Community /Pin to ProfileBookmark

Need Help Wtih Aweber Form

How do I get the submit button cented instead of it being over to the
left on this form, here’s the website.

[url]http://www.forumpostings.com[/url]

Thanks,

Gary

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@saulssOct 01.2005 — You have a javascrip located in another file that writes the form field.

That file looks like this:
[CODE] document.write("<center><form method="post" action="http://www.aweber.com/scripts/addlead.pl"><input type="hidden" name="meta_web_form_id" value="1890392956"><input type="hidden" name="meta_split_id" value=""><input type="hidden" name="unit" value="forumpostings"><input type="hidden" name="redirect" value="http://www.aweber.com/form/thankyou_vo.html"><input type="hidden" name="meta_adtracking" value="1"><input type="hidden" name="meta_message" value="1"><input type="hidden" name="meta_required" value="custom Name,from"><input type="hidden" name="meta_forward_vars" value="0"><table><tr><td colspan=2><center><div style="__styledocument: [object];">&nbsp;</div></center></td></tr><tr><td>First Name:</td><td><input type="text" name="custom Name" value="" size="20"></td></tr><tr><td>E-mail Address:</td><td><input type="text" name="from" value="" size="20"></td></tr><tr><td align="center" colspan="2"><input type="submit" name="submit" value="Submit"></td></tr></table></form></center>");

function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "");
document.cookie = curCookie;
}

function getCookie(name) {
var dc = document.cookie;
var prefix = name + "=";
var begin = dc.indexOf("; " + prefix);
if (begin == -1) {
begin = dc.indexOf(prefix);
if (begin != 0) return null;
} else
begin += 2;
var end = document.cookie.indexOf(";", begin);
if (end == -1)
end = dc.length;
return unescape(dc.substring(begin + prefix.length, end));
}


unique_track = new Image();
unique_track.src = "http://forms.aweber.com/form/displays.htm?id=jBycDMycTJysbA==";[/CODE]

This .js file is located at http://forms.aweber.com/form/56/1890392956.js

your fist line is the one that writes the html code on the page.

if you change it to this:
[CODE]document.write("<center><form method="post" action="http://www.aweber.com/scripts/addlead.pl"><input type="hidden" name="meta_web_form_id" value="1890392956"><input type="hidden" name="meta_split_id" value=""><input type="hidden" name="unit" value="forumpostings"><input type="hidden" name="redirect" value="http://www.aweber.com/form/thankyou_vo.html"><input type="hidden" name="meta_adtracking" value="1"><input type="hidden" name="meta_message" value="1"><input type="hidden" name="meta_required" value="custom Name,from"><input type="hidden" name="meta_forward_vars" value="0"><table><tr><td colspan=2><center><div style="__styledocument: [object];">&nbsp;</div></center></td></tr><tr><td>First Name:</td><td><input type="text" name="custom Name" value="" size="20"></td></tr><tr><td>E-mail Address:</td><td><input type="text" name="from" value="" size="20"></td></tr><tr><td></td><td><input type="submit" name="submit" value="Submit"></td></tr></table></form></center>");[/CODE]
youll get something like this:

[FONT=Lucida Console]..................____________..

......First.Name.|_
__
_________|.

.................._
__
_________..

.E-mail.Address:.|_
__
_________|.

....................[Submit]....[/FONT]

Is that what you are looking for?

anyways i would not recomend you to use a js to generate your form, it would be easier for you to write the html for it inside the page you want it, so you can edit it more easily.
×

Success!

Help @glc spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...