Automatic Form Code Not Working
2 posters
Page 1 of 1
Automatic Form Code Not Working
Hi! I installed this code in my forum a while ago, though it's not working.
- Code:
$(function() {
if (location.pathname == '/post' && location.search == '?f=5&mode=newtopic') {
$('#text_editor_textarea').val('[b]Name[/b]: \n[b]Question or Suggestion[/b]: \n[b]Detailed Description[/b]: \n');
}
});
$(function() {
if (location.pathname == '/post' && location.search == '?=27&mode=newtopic') {
$('#text_editor_textarea').val('Name: \nAge: \nSpecies: \nHome Planet: \nPowers: \nWeapons: \nGender: \nPersonality: \nStrengths: \nWeaknesses: \nSpells: \nAppearance: \nHistory: ');
}
});
Re: Automatic Form Code Not Working
Was this only for topics? Do you have the In Topics checked?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Automatic Form Code Not Working
Is this exactly a form for posts or profiles?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Automatic Form javascript code don't work anymore on ModernBB
» Form no longer working - Code not modified
» Hope a code for auto hide login, signup form and show the logout form for DIY toolbar
» Automatic Solved Button working incorrectly
» Custom form Tutorial - Script not working
» Form no longer working - Code not modified
» Hope a code for auto hide login, signup form and show the logout form for DIY toolbar
» Automatic Solved Button working incorrectly
» Custom form Tutorial - Script not working
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum